gsantner / markor

Text editor - Notes & ToDo (for Android) - Markdown, todo.txt, plaintext, math, ..
https://github.com/gsantner/markor/discussions/2269
Other
3.53k stars 353 forks source link

Markor Project discussion, chat & questions #95

Open gsantner opened 6 years ago

gsantner commented 6 years ago

Do you have a question or a problem?

--> Check this: https://github.com/gsantner/markor/discussions/2269


To write comments a free GitHub account is required, the place where many Open Source software projects (like Markor) are developed.
Please don't send e-mails to developers, do ask & search here instead so everybody can benefit from your matter and it's answer/solution, as well other people might have a better answer.



Please subscribe/unsubscribe to this topic if you want to keep updated with whats going on in the project. It is kind of a "mailing list" for the project.

Notes:

gsantner commented 3 years ago

If you want to fork it, you are free todo so under the terms of Apache 2.0 license (overall).

But as said, theres also MIT licensed things (i.e. from writeley and stackoverflow) in the repo, which you still need to keep, and I myself in Markor project and you and any of your project can't change and is bound to.

m just writing this as I was thinking of forking Markor for a hobby project.

And of course, if it's just for your personal and your family use, and it's private...well you don't need to tell anybody what you do in private.

But that's the problem, those files are not clearly marked. As they are not separate libraries with their own license, they could be anywhere.

Ehm, the files have or should have the header, and giving link for details

grafik

glow12121 commented 3 years ago

Hi, I have just installed Markor and find it beautiful - its simplicity, a clean look, and the essential option to store texts in an arbitrary folder on the phone. I'd like to inquire though if it is possible to change two parameters, somewhere, somehow:

Thanks.

gsantner commented 3 years ago
glow12121 commented 3 years ago

Okay, I see.

pgorod commented 3 years ago

Hi everyone. I'd like to start using the custom CSS feature. Where can I find a reference of the class names and styles that Markor uses, so I can know what to change? Thanks

gsantner commented 3 years ago

use the export -> html option and you can inspect everything and find what you need.There are not really much CSS classes, a p is a p, no p class=xyz

alexroddie commented 3 years ago

Hi, I've started to use Markor with my library of Markdown files from Obsidian on the desktop, and I'm finding it a superb option so far. The way I use it is to sync the files via OneSync to my internal memory. I'm using a Pixel 5 with Android 11.

My issue is that I'm finding the list of files within the app very slow to update - often two or three seconds. I have a lot of files in one particular directory (100+) and this seems to be slowing down the app. I often get a shrugging emoji on the screen which I can only assume is some kind of error message? Is there anything I can do to improve performance?

Secondly (and this is by no means a deal-breaker) is there any way to either deactivate or change the 'to do' tab at the bottom? I never use a todo.txt file, but it would be very handy to have a second arbitrary md file there for reference.

Keep up the good work!

harshad1 commented 3 years ago

You can change the path for Todo to whatever you want under settings->general

Mar. 2, 2021 01:24:11 alexroddie notifications@github.com:

Hi, I've started to use Markor with my library of Markdown files from Obsidian on the desktop, and I'm finding it a superb option so far. The way I use it is to sync the files via OneSync to my internal memory. I'm using a Pixel 5 with Android 11.

My issue is that I'm finding the list of files within the app very slow to update - often two or three seconds. I have a lot of files in one particular directory (100+) and this seems to be slowing down the app. I often get a shrugging emoji on the screen which I can only assume is some kind of error message? Is there anything I can do to improve performance?

Secondly (and this is by no means a deal-breaker) is there any way to either deactivate or change the 'to do' tab at the bottom? I never use a todo.txt file, but it would be very handy to have a second arbitrary md file there for reference.

Keep up the good work!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub[https://github.com/gsantner/markor/issues/95#issuecomment-788759450], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AAOZ3TFAF7QFMGYWSQIWDY3TBSVDPANCNFSM4EBJTY5A]. [data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAAySURBVHic7cEBDQAAAMKg909tDjegAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAeDVulAABbzDScQAAAABJRU5ErkJggg==###24x24:true###][Tracking image][https://github.com/notifications/beacon/AAOZ3THLFSTQEGYIP6FWNW3TBSVDPA5CNFSM4EBJTY5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF4BYHGQ.gif]

alexroddie commented 3 years ago

You can change the path for Todo to whatever you want under settings->general

Sure, and that's a brilliant feature, but it seems incongruous for the tab to still be called 'Todo' with a clipboard icon. Would it be possible to change the names and icons for the tabs? Again, certainly not a priority feature, but it would be a nice-to-have!

gsantner commented 3 years ago

Markor won't include every icon out there and as said you can set any file you want and any Format (zim/todo.txt/markdown) you want.

Think the majority is fine with that, and if you don't need it, don't use it / ignore it. Or purpose it for whatever you want to do with it instead - I use it for example for "read it later" in todo.txt format, and move off read articles to archive. (Of course, using it myself for todos too ;) ).

harshad1 commented 3 years ago

@gsantner I see that 2.6 has been up on the play store for a couple days now. Do you have an ETA for when it'll be on F-Droid as well?

gsantner commented 3 years ago

F-Droid usually takes ~3 days to build and publish the update.

alexroddie commented 3 years ago

Markor won't include every icon out there and as said you can set any file you want and any Format (zim/todo.txt/markdown) you want.

Think the majority is fine with that, and if you don't need it, don't use it / ignore it. Or purpose it for whatever you want to do with it instead - I use it for example for "read it later" in todo.txt format, and move off read articles to archive. (Of course, using it myself for todos too ;) ).

No problem, and appreciate the reply! How about the performance issues I mentioned above?

alexroddie commented 3 years ago

So far I heard from multiple G-Pixel owners they had such issues, but from nobody else yet. So it seems like the device has really slow disk I/O.

Hmm, interesting, but I'm not entirely convinced - I use other apps with this same directory of files, and have not seen the same performance issues.

gsantner commented 3 years ago

I get many mails from users, and you can also check the github issues - the only users who raised their voice are: People with Pixel ?5? devices. Should be about 5 different people. At some issue there is also some background info.

ShreeRaghav2004 commented 3 years ago

Please add option to enable line numbers in editor

mogarithm commented 3 years ago

With the introduction of Scoped Storage changes in Android 11, what impact will this have on Markor? At the moment, with Android 10, it is possible to read/write to the folder containing the Markor's notes with any Android File Explorer app, and via Windows Explorer when the device is connected to a PC via USB. Will these abilities be lost with Android 11?

As per https://developer.android.com/about/versions/11/privacy/storage

It is possible to temporarily opt-out of the changes by targeting Android 10 for now, but this option will be removed later this year. Have there been any considerations about these upcoming changes?

gsantner commented 3 years ago

My daily-use-phone is on Android 11 and I use Markor every day. No issues so far. So what Google tries to enforce down the developers throats at this latest iteration isn't a problem for Markor currently. If it means in the future that we cannot use normal java File access, focus may shift more to internal appdata storage, where I don't think there will be ever any restrictions.
I don't have the time, energy and will to rewrite my leisure time projects every year to what Google like this year. Nor do Markor's contributors (thanks by the way for those reading this 🎉 ).

And if it means, OK app works as is, just Google Play doesn't allow to upload it there. Because it's not a filemanager app from big companies that have enough money for laywers assisting to get normal access - this means I probably stop deploying to Google Play. I don't like these kind of rouge tactics.

MinusGix commented 2 years ago

Based on what's posted here and in other issues, I'm guessing there's no chance of getting an option to disable the textactions bar. I don't dislike it, but it uses up room, and I'm not often writing a document that uses extensive use of Markdown so it isn't too useful.
My main use case for the app is primarily a performant text editor, since most of the ones I've tried have performance issues on files of 50k~ words, while this app is very smooth on my cheap phone. (I was previously using Writer Plus, but even it had a bit of delay). Thus, while I do use some minimal markdown features, it is not very often and nothing complex. So, the downside of having less screen space and the number of mistaps is not worth the gain of quick usage of markdown features. This is of course personal to my tastes and workload. Would it be feasible to keep the feature, but add a warning that it can cause odd scrolling issues (at least that's what I believe the issue was)? I imagine no, since it is more code to maintain for what is considered a niche target for the project, and projects tend to dislike having buggy features. I'll probably add the feature back manually and build an APK for myself. Then I'll use it and see if I run into issues. If I do, I'll try to isolate them and post it back here.

KotUW commented 2 years ago

You can disable evrything in action bar. That won't make the bar disappear but will not have anything on it. So Maybe it helps, To do that go to settings > markdown > action bar and disable every one of them

DaisyF8 commented 2 years ago

I like Markor sofar but I don't get certain things. If you read my questions below I'm doing my best to convey my experience, it may seem like I'm overly hammering on stuff not working the way I want, with a lot of question-marks. It's just that I think I'm doing stuff wrong (not Markor) in the workflow of things. I really appreciate Markor and think it's awesome. Maybe it's not what I'm looking for and I'm willing to accept that. But there are a few little things I just don't understand...

My setup sofar is a filesystem mirror from android to my home server where I use QOwnNotes. Works awesome with instant sync.

My Questions

  1. To jot down a quick note, I use QuickNote right ? For my use I want to have that scribble end up in my library of notes (notes-folder), not everything in one big QuickNote document. that's the way it's supposed to work ? But then I don't get it. I can't Save the current contents of Quicknote with a different name? Instead, I need to copy my text, delete the text in Quicknote, open another document and paste the content. So what do you use Quicknote for ? Only stuff that you delete ? I don't understand...

  2. I have the widget on my homescreen. How do I open a note for writing something down that get's stored in my notes-folder ? Do I press "+" ? But then I have to (every time) press "Select this folder". Is that what is supposed to happen?

In the end I want to use the widget to have an overview of my recent notes (works), and use it to open a new note, enter a title and write some content. But I seem to always have to go the long way to get there.

Again, I'm not criticizing Markor. Just trying to understand.

gsantner commented 2 years ago
  1. To jot down a quick note, I use QuickNote right ? For my use I want to have that scribble end up in my library of notes (notes-folder), not everything in one big QuickNote document. that's the way it's supposed to work ?

Yes. QuickNote is ONE single file, where you can put as much info into as you wish. I usually use it to shortly share links into it, which I checkout later the day. Or i.e. some travel notes for train stops.

  1. I have the widget on my homescreen. How do I open a note for writing something down that get's stored in my notes-folder ? Do I press "+" ? But then I have to (every time) press "Select this folder". Is that what is supposed to happen?

plus buttton -> you can share into any new or existing file.Of course, if you want to write into a new, you have to type its name and select the location where you want to add.
Though I would rather recommend you to use the QuickNote "lightning" button or the todo button at the Widget, if you quikcly want to paste some thoughts.
The fourth button also open at the directory browser directly at your root folder (notebook), where you don't have to select a folder. That's plenty of options, for all kinds of needs.

Additional note: Widget is not in active development, there has been no major development on it since a long time. If somebody is interested, please go for it.

DaisyF8 commented 2 years ago

Okay 🙂 then I just need to get used to it. I was halfway there. Thx.

chromer030 commented 2 years ago

@gsantner , Please add theme support and color customization for view mode.

gsantner commented 2 years ago

@chromer030

This is already there. view mode is 100% themeable. You can fully theme it with CSS to your likes.

chromer030 commented 2 years ago

@gsantner , any plan to add full black UI theme (useful for AMOLED devices) ?

Jaaaarne commented 2 years ago

Sorry for coming back with the same question again, but I still haven't found a solution.

Can somebody rec me a file manager (preferably opensource, but at this time I will look at anything that does not require buying it on google) that will open files in Markor. It doesn't seem to work with anything at all, and using the built-in explorer pains me a lot. Thread on this issue: https://github.com/gsantner/markor/discussions/1381

I've tried a lot of file managers since last November, and so far I've only discovered two that work with Markor: Simple File Manager, which is too simple for me, and Solid File Manager, which requires licensing via google playmarket.

I'm ready to change my default file manager that would suit Markor, as I don't think that fixing the issue of opening files from other apps is easy and can be done in the foreseeable future (or at all, who knows what causes it). I thought it would be easier to find a file manager that would work, than find another text editor, but I was in for a surprise. So please advise.

My requirements are: a file manager should be able to open md files in Markor, should have FTP and preferably SMB. Dark theme or following system theme would be great. Open source or at least not tied to google services (I'm not averse to paying, but the file manager is needed on a Huawei tablet).

Thank you in advance, kind people. :) And sorry for bringing it up again. I'm kind of desperate, tbh.

gsantner commented 2 years ago

Can somebody rec me a file manager (preferably opensource, but at this time I will look at anything that does not require buying it on google) that will open files in Markor. It doesn't seem to work with anything at all, and using the built-in explorer pains me a lot

Simple File Manager.

Simple File Manager, which is too simple for me

Well then, just have to say some software and it's features comes at a cost - be it data or money^^.
I don't use or can specifically can recommend any other specific one. I also mainly use Markor as my filemanager of choice tbh.


Hopefully somebody can spend his time on working for more broad support. file management & saving is not as easy as you would think. Lots of things can happen. Lots of devices behave differently. Lots of people have different expectations, even partially the opposite of other peoples expectations. I try to make good middleground at Markor - but you totally can not make everybody happy - no you as contributor nor me have infinite leisure time to work on Markor.

Jaaaarne commented 2 years ago

Simple File Manager.

I need FTP server. It doesn't have it, so it can't be my default file manager. Also it's of ugly colour (and becomes unstable if you change it), but that's beside the point. :)

Hopefully somebody can spend his time on working for more broad support. file management & saving is not as easy as you would think.

I never said it was easy! Just the opposite, in fact: I said I didn't think it was easy, because this issue is a long standing one, with lots of people mentioning most popular apps, so it must be something very difficult or impossible to fix. I'm far from thinking that developers are omnipotent. :) And I realise that you're doing it in your free time and with no pay. I really appreciate this work. That's why I'm looking to replace a file manager, not Markor. There are tons of file managers out there, but not so many decent markdown editors, out of which Markor is the best so far.

smord6 commented 2 years ago

Sorry, I have a dumb question: in settings>markdown>action order, what is the actual function of "Open link" (icon with arrow pointing up)?

In edit mode of a foo.md file, a short press does nothing and a long press opens a search function, which I think is the same as the magnifying glass search.

I tried highlighting a link and using it, since it says open link, but it doesn't do anything different.

It's probably simple, but I'm just a little confused and my OCD won't let me quit trying to figure it out.

fredericjacob commented 2 years ago

@smord6 Actually, it's enough to place the cursor on the link and press the button to open it in the browser. However, highlighting it first worked as well for me... Does your link start with "http://" or "https://"? If not, Markor won't recognize it (i.e. https://gsantner.net works, but gsantner.net won't)

smord6 commented 2 years ago

@fredericjacob Ah, that worked. Thanks. I thought I had tried that already.

gsantner commented 2 years ago

If somebody wants to help testing (can be installed beside markor, not replaces it):

Please put feedback at the respective merge requests (OK / not OK / whats wrong)

harshad1 commented 2 years ago

@DaisyF8 @gsantner Since I am making some changes to the widget in #1549, this may be a good time to look at what the buttons do.

Changes made in this PR so far:

  1. Buttons are now 1 vertical column
  2. Button icons updated
  3. Title bar sends you to widget folder

In addition, #1543 includes some fixes for widget colors

Any opinions / thoughts would be appreciated

harshad1 commented 2 years ago

@gsantner I think we should revisit the main activity layout after all. Right now the tabs sit between the text actions and the keyboard resulting in misclicks.

wangweitung commented 2 years ago

thx for this wonderfull app. Could this app UI be more Modernized? Eg.:the top section and bottom section use the same colour as main section and so on.

gsantner commented 2 years ago

feel free to start modernizing it. design/mockups & code both takes time and people.

thanks

wangweitung commented 2 years ago

feel free to start modernizing it. design/mockups & code both takes time and people. thanks

understood. And one more thing , I'm using hexo to write my blog,could markor add Hexo article template in the buildin templates?

or Could the user define or import the templates by themselves?

gsantner commented 2 years ago

Yes, can you please prepare a generic hexo.md file, put it in the repository "samples" folder and make a merge request?

See jekyll and zettelkasten for reference.

wangweitung commented 2 years ago

Yes, can you please prepare a generic hexo.md file, put it in the repository "samples" folder and make a merge request?

See jekyll and zettelkasten for reference.

like the follows:

---
title: 
author: 
date: 2022-02-01 21:16:33
tags: 
 - hexo
categories: 
 - hexo
sticky: 2
cover: 
---
Knusper commented 2 years ago

Hi, just a quick question. Is it possible to disable the blinking cursor? CH

harshad1 commented 2 years ago

Is it possible to suppress the markdown header / toc per file ?

gsantner commented 1 year ago

@harshad1
You can generally enable or disable Table of Contents, in Markor settings.
Additionally, you can add [TOC]: # "Title" to your markdown file and you get the TOC rendered in that file wherever you want it. And so have a TOC only in the files you like them to be present.

See also question https://github.com/gsantner/markor/discussions/1780

gmccullo commented 1 year ago

Is there any interest in providing direct access to online files / cloud services (Dropbox, OneDrive, GDrive, etc.)? Having to rely on file sync apps has some serious drawbacks.

gsantner commented 1 year ago

No I wont bloat Markor with the 20 vendor specific SDKs and their builtin tracking & more.

Markor is focused on usage on your device. If you need a cloud focused app sending data to everywhere, feel free there is plenty of choice.

Something that should be improved though is opening files from other apps. Thats a big topic, and help as in development is very welcome.

gmccullo commented 1 year ago

No I wont bloat Markor with the 20 vendor specific SDKs and their builtin tracking & more.

Markor is focused on usage on your device. If you need a cloud focused app sending data to everywhere, feel free there is plenty of choice.

Oh I like Markor a lot. I think its far and away the best markdown editor on Android. I just really miss this feature as I have a large number of files in my repository (it's a concept map) and having to sync it all is a pain. One of the things that's good about Markor is that I can use it with such a big repo. I hear you about bloat, but it wouldn't be unnecessary bloat, it would be a great enhancement. You'd think somebody would come up with a plugin to wrap all the cloud-providers' complexity in common API. Easy to say, right?

gsantner commented 1 year ago

As said, use something else if you need something coneceptually else. The answer remains no also when you ask differently.

Whatever provider whatever way, means work and time continously, and I have to chose my time wise - this is my private project, have a normal day job as well. Not some company project where you pay with data or with money for features/no-ads.
(besides the main part, I dont want to bloat my project with such sdks & their tracking, and the project has been focusing on on-device & offline use since I started it)

Deal with it. Thanks.

Knusper commented 1 year ago

I don't even understand why this should be a feature of the editor. You can sync your files e.g. with Dropbox or nextcloud clients.. That works for me .. Have you tried this?

gmccullo commented 1 year ago

How do you open files from Dropbox in Markor?

gsantner commented 1 year ago

Before you play back and forth the discussion again, which has been already asked a few times...please read there https://github.com/gsantner/markor/discussions/1381.