Qownnotes: Comment in QOwnNotes

Created on 21 Jul 2017  路  14Comments  路  Source: pbek/QOwnNotes

Expected behaviour

It would be great to be able to insert comment in note (html format for example)... with color syntax of course.

Actual behaviour

Steps to reproduce

Output from the debug section in the settings dialog

Relevant log output (you have to enable enable the log widget)

Feature

All 14 comments

Are you talking about html comments?
I'm sorry, it would really be very painful to implement syntax highlighting for that.
If anyone else what to work on that, please let me know.

No i want to insert comment in my notes without ownnotes will export it.
<--!--> don't work. It colorize all the text after...

capture du 2017-07-21 15-49-16

You can do that with a script too. Maybe @Maboroshy can help you. ^_^

For "no export" part scripting is not needed, markdown has some elements, that should not be rendered, and QON doesn't render them.

You can use [comment]: # (Put text here) for comments. You can replace "comment" with whatever you like.

More info here.

Ok, thank you. It works great.
Maybe it's interesting to write a little script to insert a comment more quickly. Qownnotes is now my favorite editor ;-)

I'll see what I can do.

Oh... and just one question.
Do you have a solution to see with specific color comments ?

Thank you !

Scripting can't do that. Markdown doesn't have dedicated syntax for comments, so different users will ask for different syntax as comments.

Ok. Thank for reply.

I've added "Insert text button" script to the repository. It will insert [comment]: # () to note text by button or context menu item. You can fine-tune it to your liking in the script settings.

That's great. Thank you so much !
@pbek @Maboroshy

@Maboroshy is the local scripting guru! :)

That's right !

Was this page helpful?
0 / 5 - 0 ratings