billthefarmer / editor

Android simple text editor
https://billthefarmer.github.io/editor
GNU General Public License v3.0
478 stars 85 forks source link

Org files syntax highlighting #172

Closed kauesena closed 2 years ago

kauesena commented 2 years ago

Hi! I see you have markdown syntax highlighting. Could you add highlighting of .org files which are used for Emacs Org Mode?

billthefarmer commented 2 years ago

The syntax highlighting in is Editor is very simplistic, see Syntax. It would be possible to do something similar to markdown, which just highlights headers, links, and emphasis.

kauesena commented 2 years ago

I thought of something very simple as you said. Like the highlighting of markdown already implemented. Making text bold or italic and making headings stand out with some color or by making them bold too.

My use case is that I share some org files between my phone and my computer, where I edit them with emacs. On the phone, I only do very light editing. Add a sentence or just some words to expand later.

On Fri, 1 Apr 2022, 07:24 Bill Farmer, @.***> wrote:

The syntax highlighting in is Editor is very simplistic, see Syntax https://github.com/billthefarmer/editor/blob/master/Syntax.md. It would be possible to do something similar to markdown, which just highlights header, links, and emphasis.

— Reply to this email directly, view it on GitHub https://github.com/billthefarmer/editor/issues/172#issuecomment-1085725312, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHG2P7DTDYAHGVT2JGGOIPDVC3FHBANCNFSM5SHKCYLA . You are receiving this because you authored the thread.Message ID: @.***>

billthefarmer commented 2 years ago

Screenshot_20220401-134429 1

That will be in the next version. I have just released a new version, so it might not be for a while.