Markdown support for texts + better editor

Something is missing? Have an idea? Ask for new stuff here.
Post Reply
dew
Posts: 34
Joined: Wed Apr 03, 2019 7:09 pm

Markdown support for texts + better editor

Post by dew » Wed Apr 03, 2019 8:25 pm

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 :D

User avatar
Pierrot
Site Admin
Posts: 165
Joined: Wed Jan 23, 2019 12:18 pm
Location: French Alps

Re: Markdown support for texts + better editor

Post by Pierrot » Thu Apr 04, 2019 5:28 am

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?

User avatar
JayM
Posts: 34
Joined: Tue Jan 29, 2019 11:57 pm

Re: Markdown support for texts + better editor

Post by JayM » Fri Apr 05, 2019 3:20 pm

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

dew
Posts: 34
Joined: Wed Apr 03, 2019 7:09 pm

Re: Markdown support for texts + better editor

Post by dew » Sat Apr 06, 2019 2:58 pm

Yay, it makes formatting very simple for everyday scenarios but at the same time still allows embeded HTML snippets for advanced formatting and effects :)

User avatar
Pierrot
Site Admin
Posts: 165
Joined: Wed Jan 23, 2019 12:18 pm
Location: French Alps

Re: Markdown support for texts + better editor

Post by Pierrot » Sun Apr 07, 2019 8:47 am

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.

dew
Posts: 34
Joined: Wed Apr 03, 2019 7:09 pm

Re: Markdown support for texts + better editor

Post by dew » Sun Apr 07, 2019 12:13 pm

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.

Post Reply