Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markor Project discussion, chat & questions #95

Open
gsantner opened this issue Oct 29, 2017 · 246 comments
Open

Markor Project discussion, chat & questions #95

gsantner opened this issue Oct 29, 2017 · 246 comments

Comments

@gsantner
Copy link
Owner

gsantner commented Oct 29, 2017

Do you have a question or a problem?

--> Check this: #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.


  • General project information and changes
    What is the project about and what is it's history?
  • Updates
    F-Droid is the recommended way to install and updated Markor. Unreleased changes can be tried in the development version called Mordor. It can be installed beside Markor and downloaded from here (click on any change and find the android-apk button there)
  • Plain issue
    Only use this option in case you experience issues with the other options. Can happen at non-official GitHub applications not supporting the GitHub issue form.
  • Translate the project
    Some texts are not (properly) translated to your language? Help with translations here.

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:

  • Get list of last contributors: curl "https://github.com/gsantner/markor/pulls?page=1&q=is%3Apr" 2>&1 | grep "by " | sed "s/^.*by //" | grep '"' | cut -d '"' -f1 | sort | uniq
@SpotlightKid

This comment was marked as outdated.

@gsantner

This comment was marked as outdated.

@SpotlightKid

This comment was marked as outdated.

@gsantner
Copy link
Owner Author

Hi everybody. I am currently feeling not so well, and don't do much development currently. Still I do maintaining which is doable on phone too. I appreciate any help in all kind of contributions, most importantly I would need some help in development (were it's more like a one-man-show currently).

There are a lot of tasks open, also too much things that can be done by beginners (e.g. hardware keyboard shortcuts). The really most important thing is support for content:// URIs and providers. I would appreciate help in this task very much (#126). The second most important would be to replace the filelist library with something more current, any help here very appreciated too (#115).

See good first issue (very suiteable for first time contributors too! 😃) and help wanted issues.

@Poussinou
Copy link

I'm not an Android developer, sorry :s

I'm sorry to hear that you aren't feeling well, but I sincerely wish you "Bon courage" !

@gsantner
Copy link
Owner Author

New release available - v0.3.3: https://github.com/gsantner/markor/releases/tag/v0.3.3.

  • Add support for editing files from most file managers
  • Allow to open from Own/NextCloud
  • Hints about using Markor with Dropbox
  • Allow to set document folder outside of internal storage
  • Fix import dialog orientation crash
  • Add option to start editing on bottom
  • md: moduleaction: end line with 2 spaces
  • Improve project icon
  • Trim share-into text
  • Improved exporting/sharing

Thanks to everybody translating Markor, latest translations included (and some more new strings are available now). Sadly still not a single community code contribution to the project since mid november, the project could really need some move love by other people than me.

@gsantner
Copy link
Owner Author

gsantner commented May 2, 2018

hey everybody. Currently the low minSdk version is hindering some future development. I really need some feedback which can drive future project targets.

About Software:

  • Which Android version? (e.g. 4.4 KitKat)
  • Which OS? (e.g. LineageOS, AOKP, Samsungish, Pixelish, AOSP)

About Hardware:

  • Screen size (as in inches physically)
  • Screen size (pixels, 1080x1920 etc)
  • Hardware keyboard available? (tablet keyboard, nokia-sliding-keyboard etc)

About app:

  • Any feedback. About anything, if not reported already. Keep in mind Markor=texteditor, not cloud doc suite :=)
  • do you mostly start with title, or immediately with content?
    • the whole auto-title stuff is quite hacky
    • planning to make filenaming controllable from Notebook, and to keep this whole there
    • means removing document title from Document-Editing
    • and means more space for actions and buttons ;)
    • !and more clean code!
  • how often do you use Undo/Redo
    • and how much do you go back?
    • this all is quite memory consuming. the lower the default history-amount is, the better the app works on low/mid devices
  • Recent I introduced a different markdown parser/converter
    • With maybe more futures. But not so fast, more memory and cpu consuming
    • do you feel like more stuff you need is available now?
    • or was the previous one very enough?
  • What about default font
    • Usually serif fonts mean faster reading and better readability
    • try Document Font -> Noto Serif and restart the app
    • how do you like that? I'm feeling like this suits better than Roboto-Sans for reading/writing documents

In general too, I would appreciate code contributions and PRs very much too. Still working 99% alone on the code part ;). I have started to write some important things up over at my blog, regarding getting started in contributing :).

Thanks everybody for helping. Too thanks for the many translations in the last days, keep going! 👍

@ema-pe
Copy link
Contributor

ema-pe commented May 3, 2018

Hi, I'm using your application every day and these are my answers to your questions:

Which Android version?

Android 7.1.2.

Which OS?

LineageOS.

Screen size (as in inches physically)

4.5 inches.

Screen size (pixels, 1080x1920 etc)

540 x 960 pixels

Hardware keyboard available?

No.

do you mostly start with title, or immediately with content?

I think that the default title looks ugly. It is only an useless number for a human. It could be more useful a customizable pattern (for example today's date).

how often do you use Undo/Redo

Thanks anyway for all work that you do
Thanks anyway for all work that you do
Never. I you want to decrease memory consumption just save a certain amount of edits, maybe a custom value.

Recent I introduced a different markdown parser/converter

I don't use a render, because I prefer to edit and view notes in the textual form.

What about default font

I like it.

Thanks anyway for all work that you have done, when I'll become more fluently with Java I promise to help you!

@TiagoDanin
Copy link
Contributor

About Software:
Android version: 1.7.2.
OS? LineageOS.

About Hardware:
Screen size: 4.5 inches
Screen size: 720 x 1280 pixels
Hardware keyboard: USB (keyboard + Mouse)

About app:

  • Do you mostly start with title, or immediately with content? - Title
# Title
**Desc**
- ....
- ....
  • 👍 Font: Noto Serif or Adobe Source Code Pro
  • How often do you use Undo/Redo ? Very little

@gsantner
Copy link
Owner Author

gsantner commented Sep 5, 2018

Hi everbody!

As of development, contributions are very welcome! Pick something if you want, hot topics (features) currently are:

Smaller:

@gsantner gsantner changed the title Markor contributor mailing list Markor project discussion Sep 18, 2018
@gsantner
Copy link
Owner Author

Hey everybody!

Markor v1.2 released

2018-09-18-markor-v1 2-features

@gsantner gsantner pinned this issue Jan 3, 2019
@ghost
Copy link

ghost commented Mar 6, 2019

Just placing an idea here: It would be really cool if you added support for Google Fonts, which would allow the user to use any of their massive range of fonts. I'm not sure if you have to pay for it (probably, it's Google) but it looks interesting.

Here's a link to their REST API

@gsantner
Copy link
Owner Author

gsantner commented Mar 6, 2019

@def0x099
You can do this using the Inject -> Head option, by adding the including and setting the font to *.
No, this for sure won't get added to Markor. As noted, it must work fully offline and I don't really want to add something that doesn't work offline ;) .

@ghost
Copy link

ghost commented Mar 24, 2019

p.s You can make an easy $20 by implementing this feature, and then filing a Pull Request.

https://www.bountysource.com/issues/63545644-markdown-table-editing-popup (#338)

@jamesnsecond
Copy link

jamesnsecond commented May 20, 2019

Feature request: ability to put a note in the notification bar like this app
https://github.com/BijoySingh/Scarlet-Notes

@jamesnsecond: see #157 (comment edit by gsantner)

@gsantner gsantner changed the title Markor project discussion Project discussion (general chat) Jul 22, 2019
@gsantner gsantner changed the title Project discussion (general chat) Project discussion (general chat & questions) Jul 22, 2019
@gsantner
Copy link
Owner Author

gsantner commented Sep 9, 2019

Hello Markor users!

I want to know from you regarding sorting at the filemanager (kind of survey):

Do you like it that documents are always sorted above other files (like videos, binary files, pdfs etc), or do you prefer that all files are sorted independent if they are a document or not?

Currently it's the second one (so you will first see sorted group of folders (depends on settings), then sorted group of documents and then a sorted group of other files.

Please give a GitHub reaction on this comment, using a 👍 or a 👎 . I'm aware of cons and pros, please no comment, just thumbs up or down on this comment, thanks!
I want to wait with any changes till I see a counter of >=10.

  • 👍 - Have documents sorted as a separate group to "other files" group
  • 👎 - Have all files sorted in one and the same group

Repository owner deleted a comment from ema-pe Sep 9, 2019
Repository owner deleted a comment from TiagoDanin Sep 9, 2019
Repository owner deleted a comment from larjona Sep 9, 2019
Repository owner deleted a comment from MohammedBelkacem Sep 9, 2019
Repository owner deleted a comment from SpotlightKid Sep 9, 2019
@gsantner
Copy link
Owner Author

gsantner commented Sep 11, 2023

@lockywolf
No, basically I let up all chat channels as there is very very little activity. Way way more happens here on the repository and discussions side, so thats what are supposed to be used for any discussion/question/issue/bug.

@I-Am-Abacus @pgorod
You can find the latest version here https://f-droid.org/packages/net.gsantner.markor/ and https://github.com/gsantner/markor/releases. Well regarding Google Play you sure find enough comments by me if you look a bit closer in what I was commenting in the last years. Maybe you get an rough idea by #2099 .

@k3b
Copy link
Contributor

k3b commented Sep 28, 2023

@gsantner Question: How to implement customized csv-preview-webview with search-expression?

In the csv-html-preview you can see how the csv would look like in a html-table.

In the Preview I can use "Seach" to find text I am interested in.

The current implementation keeps the html and highlights found matches.

I want to implemet a csv-specific preview that renders only the csv-header and those data lines that match the search-Expression.

I have no clue how to integrate that function into the markor architecture.

I already found

  • MarkorWebViewClient that customizes the preview-webview
  • DocumentEditAndViewFragment#_menuSearchViewForViewMode that handles the search
  • DocumentEditAndViewFragment#onOptionsItemSelected-R.id.action_preview that initiates the preview.
  • DocumentEditAndViewFragment#updateViewModeText() that fills the webview with the currently unfiltered html

How can I plug in csv-specific code into the markor-architecture that triggers a search-filter-based reload of the
preview-webview (DocumentEditAndViewFragment#updateViewModeText()) when the searchexpressoin changes ?

@gsantner
Copy link
Owner Author

gsantner commented Sep 28, 2023 via email

@k3b
Copy link
Contributor

k3b commented Sep 28, 2023

Thanks for fast reply

You can freely add javascript/css that is run when you show document in webview.

Unfortunately the csv parser and html code generator is implemented in java so implementing the filtering in javascript is no option for me.

I am thinking more about adding a callback to FormatRegistry that will be called after the search-text is entered and before the searchtext is send to the webview that does the highlighting

@martinrothsta
Copy link

I was very happy to use Markor as viewer of my ZIM Notebooks offline on my Android V.13 phone. After first installation i was asked for file access rights and everything worked fine: Clicking on my file links opened pictures and PDFs as used on my Linux desktop. But after non-using Markor for 5 weeks the links do not work anymore. Now the message "Fehler: Datei konnte nicht geöffnet werden." is thrown. Guessing Android access restrictions as root cause shows under Apps access rights: "Zugelassen: only Microphone" and in the next field: "Nicht zugelassen: Alle Berechtigungen zugelassen"
So my hypothesis is that Android does not allow any file access for Markor. Re-installation of Markor does not fix the issue and i have no ideas left what to try as user. I was happy with the features and want back that functional state. Unfortunately, i have no idea what happened between. So every hint what to try next would be great. Thanks in advance!

@harshad1
Copy link
Collaborator

harshad1 commented Nov 20, 2023 via email

@martinrothsta
Copy link

Thanks for the hint,
but does not help on my Android 13 Phone due to new file access restrictions.
The above mentioned menu says now after enabling Markor:
"Zugelassen:" "Zugriff für keine Apps zugelassen"
Translated to english: No app has access to files and folders as it was before. For my point of view Markor needs a updated manifest for Android 13 compatible file access.

@k3b
Copy link
Contributor

k3b commented Nov 21, 2023

Now the message "Fehler: Datei konnte nicht geöffnet werden." is thrown.

What ist the file path folder that cannot be opend?
Some folders may be restricted.

May be a folder (or a sub-folder of) "downloads" on internal memory (not on SDCard) is not restricted.

@fredericjacob
Copy link
Contributor

@martinrothsta Would be interesting to know which file path you tried to open, and how the link looks like in the Zim wiki txt file (in raw text, not rendered to view mode).
I implemented full support for Zim links to other wiki pages in the same notebook, but I didn't specifically consider file links (as far as I remember). So a link might work, but I'm not sure in which cases it works and when not (I didn't use file links on Android so far, only on desktop).

@harshad1
Copy link
Collaborator

@martinrothsta I am on a stock Pixel 7 with android 14 and it works well for me. Where did you get markor from? The play store?

@martinrothsta
Copy link

@k3b : Moved documents to Android_R58T708NFBD/Interner%20Speicher/Download/Markor: Did not fix the issue.
@harshad1 : from play store
@fredericjacob : "Bootshaus: [[./Bootsuntersteller.jpg]]" is an example of a file link to a picture. If it is a .pdf file i am asked which reader to be used. But after that "Dateidownload fehlgeschlagen" error is thown.
If possible i would also try to install a Linux desktop version. Unfortunately, i did not find Markor in the standard package manager.

@DarkCrypt
Copy link

What would be a good companion desktop app (Linux/windows) that complements Markor?

No need for a companion app. Use Markor on Linux/Windows with an emulator.

@AP2020C
Copy link

AP2020C commented Dec 26, 2023

I have found some requests reporting problems related to editor wysiwyg or the save button. Yet I don't see one or the other. I have auto-save and can't find a way to turn it off, and I haven't found any save button.

@harshad1
Copy link
Collaborator

@AP2020C Big floppy icon on the top bar when editing a file :)

@AP2020C
Copy link

AP2020C commented Jan 1, 2024

@AP2020C Big floppy icon on the top bar when editing a file :)

OK, the save button is so big I didn't see it. 😲
However, there remains the problem of how to turn off auto-save and turn on the wysiwyg editor.

@gsantner
Copy link
Owner Author

gsantner commented Jan 1, 2024 via email

@javiavid
Copy link

javiavid commented Jan 7, 2024

Hi, I am trying to change the default folder for Quicknotes and To-do on Android but the "select this folder" option does not appear as in a notebook option. Am I doing something wrong, is it a bug?

image

@gsantner
Copy link
Owner Author

gsantner commented Jan 7, 2024 via email

@javiavid
Copy link

javiavid commented Jan 8, 2024

Thanks

@janpeterd
Copy link

Hi, I was wondering when a update or new release is planned. I'm really interested in some of the new functionalities (mainly org-mode preview).

@gsantner
Copy link
Owner Author

gsantner commented Jan 11, 2024

https://github.com/gsantner/markor/issues/95
As usual in most FOSS software. No ETAs : -). But usually it's every ~half year.

Milestone, marking, assignments, whatever are rather for searching
 and later finding what was done in a cycle. It's not to plan when what is done, 
that contributors decide fully by their own.

@gsantner
Copy link
Owner Author

Hello, thanks to everybody for contributing!

As now many new feature, fixes and improvements are merged I want to release a update soon.
For everybody interested, please download test builds from here - click the latest build and you can find a android-apk button to download.

Please give feedback on the related merge request/issue where it was added in case you notice related big issues. Thank you!

@naveenroyv
Copy link

Hi there, hope it's okay to ask this question here, - how do you guys organize your notes in files and folders in markor? Is there a particular workflow that has been working well for you?

@chtixof
Copy link

chtixof commented Mar 28, 2024

Hello @naveenroy and all users. To answer your question…
I have my .md files in a folder tree under a folder markor. I sync this markor folder with a folder on OneDrive, using FolderSync. In each folder of the tree, I have a file index.md that I consider as the root file of the folder, with links to the other files of the folder. I have a specific folder in the tree, named diary. In it, the files are named like yyyy-mm-dd.md and (ping @gsantner), a feature to automatically name the new files in this diary folder with the current date would be awesome. I also try to have a similar header on all my .md files… and I need to understand how to use the template feature for that (and if it is even possible to customise a template as I want).

@loopernow
Copy link

loopernow commented Mar 31, 2024

Hi there, hope it's okay to ask this question here, - how do you guys organize your notes in files and folders in markor? Is there a particular workflow that has been working well for you?

@naveenroy I hope its okay to answer :) -- I sync my computer Desktop files with a folder on my phone (using Syncthing) and use Markor on my phone to edit those files. My QuickNote file is my grocery list. 😋

@loopernow
Copy link

loopernow commented Mar 31, 2024

In it, the files are named like yyyy-mm-dd.md and (ping @gsantner), a feature to automatically name the new files in this diary folder with the current date would be awesome. I also try to have a similar header on all my .md files… and I need to understand how to use the template feature for that (and if it is even possible to customise a template as I want).

@chtixof A workaround might be if your index.md file lists your daily note files, you could use the "Date and time" action button to add a link to the new file in your index.md file, then copy the file name that's been auto-inserted for you, so that you can paste it when you actually create and name the file.

The way templates work is you add various text files to the templates folder, and then there's a templates action button from which you can select which file's contents you want to insert at the cursor.

I remember these things 'cause I was messing with them at one time and I think I Googled and then browsed through release announcements to find out how these two features work. If I remember correctly!

@harshad1
Copy link
Collaborator

harshad1 commented Apr 7, 2024

Create a file with the following contents

<script>

// All of this is from
// https://chat.openai.com/share/a3a1adf2-889f-45b4-8dbf-0fbe2bd5de20


let anchorToday = document.createElement('a');
let anchorYesterday = document.createElement('a');

// This asinine approach is from https://stackoverflow.com/a/28149561
// offset in milliseconds
let offset = (new Date()).getTimezoneOffset() * 60000;
// 3 hours
let nextDayOffset = 3 * 60 * 60 * 1000;

let isoToday = (new Date(Date.now() - offset - nextDayOffset)).toISOString();
let today = isoToday.split('T')[0];
let isoYesterday = (new Date(Date.now() - offset - nextDayOffset - (24 * 60 * 60 * 1000))).toISOString();
let yesterday = isoYesterday.split('T')[0];

let textNodeToday = document.createTextNode("Today");
let textNodeYesterday = document.createTextNode("Yesterday");

// Append the textNode as a child to anchor.
anchorToday.appendChild(textNodeToday);
anchorYesterday.appendChild(textNodeYesterday);

let yearToday = today.slice(0, 4) + "/";
let monthToday = today.slice(0, 7) + "/";
let yearYesterday = yesterday.slice(0, 4) + "/";
let monthYesterday = yesterday.slice(0, 7) + "/";

let todayRef = yearToday + monthToday + today + ".md";
let yesterdayRef = yearYesterday + monthYesterday + yesterday + ".md";

anchorToday.href = todayRef;
anchorToday.style.fontSize = "x-large";
document.body.appendChild(anchorToday);

// Adding two new lines
document.body.appendChild(document.createElement('br'));
document.body.appendChild(document.createElement('br'));

anchorYesterday.href = yesterdayRef;
anchorYesterday.style.fontSize = "x-large";
document.body.appendChild(anchorYesterday);

// Launch 'today' link on start
window.location.href = todayRef;
</script>

Open it and enable view mode.

It will create and open a file with the format yyyy/yyyy-mm/yyyy-mm-dd.md next to it.

Modify this script as necessary to get what you want (chat gpt is very good at this)

@harshad1
Copy link
Collaborator

harshad1 commented Apr 7, 2024

I have a shortcut to this file on my desktop and tapping it opens a 'today' file instantly.

@gsantner
Copy link
Owner Author

A new update is out now. On F-Droid in a few days, otherwise from GitHub Release now.

@naveenroyv
Copy link

Thank you for the continued development on the app, loving the latest update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests