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 · 265 comments
Open

Markor Project discussion, chat & questions #95

gsantner opened this issue Oct 29, 2017 · 265 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
@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.

@b2arrival
Copy link

I was able to render mathematical expressions in asciidoc with latex and asciimath, injecting the following code into the preview mode body, according to the instructions in the asciimath page

<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/latest.js?config=AM_CHTML"></script>
<script src="ASCIIMathML.js"></script>
  • after Screenshot_2024-06-04-11-48-09-831_net.gsantner.markor.jpg

  • before Screenshot_2024-06-04-11-50-11-519_net.gsantner.markor.jpg

@AZeed18
Copy link

AZeed18 commented Jul 15, 2024

Is there a quick automated way to build Markor from master branch for easier issue reporting?

@gsantner
Copy link
Owner Author

gsantner commented Jul 15, 2024 via email

@AZeed18
Copy link

AZeed18 commented Jul 26, 2024

Anchor links within same file no longer work after update

[Not working](#header)

# Header

@gsantner
Copy link
Owner Author

gsantner commented Jul 26, 2024 via email

@Smilium-LeaFAT
Copy link

Hello, I want to know does Markor support detecting lua file?
Today I open a lua file and find that Markor highlight it correctly, but when I try to write another lua file, Markor can't highlight it, then I search and find the support filetypes on Markor, but I can't find the support of lua file.
Do can everyone tell me does Markor support detecting lua file but I can find or it doesn't support and it's a bug? Thanks!

@AZeed18
Copy link

AZeed18 commented Sep 10, 2024

@Smilium-LeaFAT

Markor supports highlighting too many languages, filename extensions of supported languages get rendered in a large code block (<pre><code>... )

@nicolaigideon
Copy link

Perhaps this question has popped up befor - but I haven't been able to find it, so forgive me if I am trying to kick in an already open door: Is exporting to odt-format something that has ever been considered?

@k3b
Copy link
Contributor

k3b commented Oct 8, 2024

@nicolaigideon what is your use case for odt-format (OpenDocument format for texts) ?

I currently export to html and use OpenOffice to edit/convert it to any suitable fileformat i need.

@nicolaigideon
Copy link

That's a great idea. However, I'd love to be able to export directly so that I could upload it to Google Drive and have it further converted to the G-doc format, since I work with colleagues on that platform.

@gsantner
Copy link
Owner Author

gsantner commented Oct 8, 2024

Markor is not just one thing but many things. Do you speak about Markdown to ODT specifically?

Our Markdown parser, flexmark, does not support export as ODT.

You might use a intermediate format, i.e. html/pdf and open that with i.e. LibreOffice and export as ODT, thats what I could suggest to you.

Overall very humbly said, odt(/docx) is not much suitable to mobile. Even having a proper viewer for it is rare. Let alone a editor.

@nicolaigideon
Copy link

nicolaigideon commented Oct 9, 2024

I do mean direct export to odt, and I do realize it's a bad format for Android, but I need to upload to Google Drive for collaboration in Google Docs, and it would be great to be able to do that directly and not via the laptop.

@mooreye
Copy link

mooreye commented Oct 25, 2024

Is it possible to have a todo list without inserting a date on each line? I just want a simple checklist, but without having to type [] manually

@AZeed18
Copy link

AZeed18 commented Oct 25, 2024

Is it possible to have a todo list without inserting a date on each line? I just want a simple checklist, but without having to type [] manually

If you're referring to Markdown, you can use the bar of buttons at the bottom, it includes a checkbutton for creating and toggle them

Customize bar: Settings -> Markdown -> Action order

@soberlook
Copy link

In Android 15 app starts in full screen mode, so if we use 3-button navigation those buttons become under status bar of the app and it's impossible to add image etc.
Also Android's status bar is under the name of the note...

@gsantner
Copy link
Owner Author

gsantner commented Oct 27, 2024 via email

@acosmicjoke
Copy link

I was able to render mathematical expressions in asciidoc with latex and asciimath, injecting the following code into the preview > mode body, according to the instructions in the asciimath page

@b2arrival This seems amazing, but I failed to replicate it. The mathjax part works, but I'm not sure if markor can see my ASCIIMathML.js file. Where did you put it?

@b2arrival
Copy link

@acosmicjoke I don't think the second part is necessary since markor already has latex and asciimath support. I only paste
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/latest.js?config=AM_CHTML"></script> at inject heather in view mode configuration and all was good to go.

@acosmicjoke
Copy link

@b2arrival It doesn't quite work for me like that. If I add a latex expression between backticks it renders, but using regular latex inline math delimiters, like \[\] as in your example, or math environments like \begin{equation}\end{equation} doesn't work. Do you have any additional mathjax configuration? After browsing the github issues here I got even more confused: Apparently, there is supposed to be an enable katex option in the settings that is missing for me. I'm not sure if it only worked like that for some old versions of markor.

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