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

Markdown support #70

Open
apachler opened this issue Jul 1, 2021 · 4 comments
Open

Markdown support #70

apachler opened this issue Jul 1, 2021 · 4 comments

Comments

@apachler
Copy link

apachler commented Jul 1, 2021

It would be very elegant to have support for markdown syntax.
This would make it possible to have titels, highlights, etc.

If focus is set to the textfield switch to editor mode, after leaving
the textfield, thus unfocusing it, switch to markdown render mode.

This markdown lib would be nice to use:
https://github.com/markedjs/marked

@maoschanz
Copy link
Owner

nice concept, but too heavy: rendering mere text inputs already causes problems, so several entire webviews??? impossible

@apachler
Copy link
Author

apachler commented Jul 1, 2021

Hmmm, i am not into gnome shell extension development but how it comes that such simple functionallity is impossible when massiv extensions like Material Shell are possible?

@maoschanz
Copy link
Owner

maoschanz commented Jul 1, 2021

i'm pretty sure materia shell provides its functionalities using native GNOME Shell widgets such as the ones i use.

Starting several windows with basically a web browser in each of them, just in order to have bold text in sticky notes, would be completely dumb, so no i will not just take a lib written for the web and get markdown support from that

i haven't close this thread which means i agreed it would be a nice feature, but sorry: the extension will get it only if i have so much free time i can implement a markdown parser to render notes with the natively supported pango library

(edit: maybe such a parser already exists? i'll search that later)

@novia713
Copy link

+1

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

3 participants