Page 1 of 1
Markdown support for texts + better editor
Posted: Wed Apr 03, 2019 8:25 pm
by dew
Text can already contain HTML elements and this way format the text itself. However HTML is somethimes a bit cumbersome when you want to only make minor text formattings.
I suggest to add support for
markdown so that adding basic formatting is possible with little effort. Nested HTML would then still be possible as markdown support this as well. However markdown is much easier to use when it comes to everyday's formatting of text.
It would also be very much appreciated if the text editor would support previewing the formatted text and have some support for
adding variables and
code snippets.
So an overall improved text editor would be very nice.
Hope you like it
Re: Markdown support for texts + better editor
Posted: Thu Apr 04, 2019 5:28 am
by Pierrot
That's a lot of work, although there is at least one library that could help a lot in implementing this... Before to start to think at it, I would like to know who else would be interested in this?
Re: Markdown support for texts + better editor
Posted: Fri Apr 05, 2019 3:20 pm
by JayM
After reading up on this i'm interested azwell, for anyone that doesn't know what it is here's the crack
At its core, Markdown is a super simple way to add formatting like headers, bold, bulleted lists, and so on to plain text.
allows people to create web pages with no HTML experience
simple way for non-programming types to write in an easy-to-read format that could be converted directly into HTML
Could even provide a basic script that loads a html file in a webview (custom view)
link:
https://www.google.com/amp/s/lifehacker ... 943320/amp
Re: Markdown support for texts + better editor
Posted: Sat Apr 06, 2019 2:58 pm
by dew
Yay, it makes formatting very simple for everyday scenarios but at the same time still allows embeded HTML snippets for advanced formatting and effects
Re: Markdown support for texts + better editor
Posted: Sun Apr 07, 2019 8:47 am
by Pierrot
We're working on this, but at the moment mixing Markdown and HTML doesn't seem to be possible (with reasonable performances). The biggest drawback is that it's not possible to use colors in md.
Re: Markdown support for texts + better editor
Posted: Sun Apr 07, 2019 12:13 pm
by dew
Okay, thanks for your support
When mixing is not possible then the default could be markdown unless the user explicitly changes it to HTML.
Or eventually it's better offering a dropdown to select the renderer for text like "plain text", "markdown", "HTML". Would make it clear what happens.