Navigation Menu

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

Format: org-mode (Highlighter, TextActions) #182

Closed
fadavi opened this issue Jan 14, 2018 · 18 comments · Fixed by #2107
Closed

Format: org-mode (Highlighter, TextActions) #182

fadavi opened this issue Jan 14, 2018 · 18 comments · Fixed by #2107

Comments

@fadavi
Copy link

fadavi commented Jan 14, 2018

Thank you for your usable/free/geeky/amazing application!
Please add Org support to your application, too.

See: https://orgmode.org

@gsantner
Copy link
Owner

gsantner commented Jan 14, 2018

Forwarding conversation from IRC/Matrix and email which is the (my) same response to this.

TL;DR: I won't implement it by myself, but I developed features to allow Markor to easy switch between formats (and implement them indipendently). I personaly too think org-mode it too much blown up for *simple* highlighting and intelligent textactions, what Markor stands for.

Irc/Matrix

grafik
grafik

E-Mail

  1. Dezember 2017 22:52:12 MEZ via E-Mail
    Using your app some days and im really liking it but i do like more to format my notes and tasks in org mode so can u please add support for org mode files too?

I dont use orgmode myself nor I know somebody actively using it. You can support the project in development, but note this will not be developed by myself.

@gsantner gsantner changed the title [FEATURE REQUEST] Org-mode support. Add format: org-mode Jan 14, 2018
@gsantner gsantner changed the title Add format: org-mode Format: org-mode Aug 12, 2018
@gsantner
Copy link
Owner

#496 - @juacq97

General information

  • App version: 1.6.2 (47) Play Store
  • System: Android 4.4.4

Description

First of all, great app, it's the best markdown editor on Android by far.
I wondering the posibilitty of add support for org-mode syntax. I have already read past entries about this format, and there were no plans to add it. That was more than a year ago, I do not know if you have changed your mind, at least I should ask hehe.

While Org-mode has many features, its markup syntax is quite simple and similar to markdown.
captura-2019-02-03

Will there be a way to reconsider supporting this format? It would be a killer feature that would appeal to all org-mode users that we do not have an application to write comfortably from the smartphone (there are some, but they are oriented to task lists, not to writing).

@uGeek
Copy link

uGeek commented Feb 25, 2019

Totally agree. It would be great to be able to write orgmode on Markor. In what way could we help?

@gsantner
Copy link
Owner

@uGeek

Totally happy about help on this. If you can work on it, please go for it and I will give feedback.

@uGeek
Copy link

uGeek commented Mar 3, 2019

@gsantner
Copy link
Owner

gsantner commented Mar 3, 2019

yep, but you are likely more in the main/markor/format folder than the test case folder. ;)

@uGeek
Copy link

uGeek commented Mar 3, 2019

Perfect. I look at it and try to adapt
Do not program java 😅

@809825706
Copy link

809825706 commented Mar 13, 2019

I think you should try another app named "orgzly", which is the best orgmode app on Android. And I think the best features of orgmode are foldable subtitle and reminder. the reminder feature seems impossible in a edit app (markor). And orgzly is also opensource on github. If you are interested, you can try to migrate its code to markor.

@gsantner
Copy link
Owner

gsantner commented Jul 22, 2019

I'm closing this as orgmode is quite complex and I don't think that that support for it will be added for it any time soon. Btw format includes a full suite of syntax highlighter, textactions, converter and others.

However if somebody is (/starts) working on this I'm happy to give feedback, and merge when it's ready.
Don't ask for this to be reopened, this issue is about implementation discussion. (i.e. if you started/start working on it)

@gsantner gsantner reopened this Oct 5, 2019
gsantner added a commit that referenced this issue May 2, 2020
@gsantner
Copy link
Owner

gsantner commented May 2, 2020

Hey, have small news on this: Now you can open orgmode files with Markor. Just like recent Asciidoc addition, it gets loaded in Plaintext format, so you can edit the files with Markor. Note that no orgmode specific features or highlighting is there, and I don't plan to implement that on my own.

If you wish to include a "template showcase file" to Markor which shows orgmode features, I'm happy to add one if you send it. (Similar to i.e. Zim, hugo files in dropdown at new file selection).

@gsantner gsantner added this to the Community Contribution milestone May 2, 2020
@uGeek
Copy link

uGeek commented May 2, 2020

It's great news !!!

I imagine it will come in the next update.
What would be the file to edit to highlight the syntax?

Thank you

@gsantner
Copy link
Owner

gsantner commented May 2, 2020

If theres somebody who develops it.

See the java files starting with todotxt or markdown. Its multiple obes.

@gsantner gsantner changed the title Format: org-mode Format: org-mode (Highlighter, TextActions) May 22, 2020
@xeruf
Copy link
Contributor

xeruf commented Jan 28, 2021

I may look into that. I'd also like to have a feature to add an org-mode-compliant current datestamp whenever I create a top-level-heading, I'll see whether that is easily doable.

@xeruf
Copy link
Contributor

xeruf commented Jan 28, 2021

From the first little attempt I can see that there is still a lot of work to be done to properly modularize the formats. Markdown and org should share a lot of functionality, but as it is right now I have to copy and modify most of it.

@xeruf
Copy link
Contributor

xeruf commented Jan 28, 2021

You should look into loading the TextConverters, Highlighters and TextActions through a ServiceLoader rather than hardcoding them.

@ghost
Copy link

ghost commented Mar 14, 2021

For the sake of completeness, Orgzly seems to have factored out its parsing engine into a separate library (not sure of its quality) https://github.com/orgzly/org-java . This may be handy if someone resumes work on this.

@xeruf
Copy link
Contributor

xeruf commented Mar 14, 2021

Hardly, since this app has rigid requirements within which the parsing needs to operate.

@gsantner
Copy link
Owner

Closing, so far nobody stepped up for adding support at Markor. If there is interest, start to work on it please and make a pull request. Thanks.

@gsantner gsantner linked a pull request Oct 1, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants