Extending Markdown
-
So, was looking through what stackoverflow/reddit uses in their markdown editors.
What "aboot"() spoilers & potentially tagging. I may be confusing stack overflow tagging with other tagging, where users can "tag" a topic which helps it appear in the search for certain terms.
http://stackoverflow.com/editing-help#spoilers
http://stackoverflow.com/editing-help#tags -
The spoilers sounds pretty doable with a line or two of regex. Lemme see what I can do! For tags, well that would have to wait until we build the actual tag system first
-
@psychobunny said:
The spoilers sounds pretty doable with a line or two of regex. Lemme see what I can do! For tags, well that would have to wait until we build the actual tag system first
Spoilers was what I was after to be honest, tags were one of those extra points things.
@julian said:inb4 @frissdiegurke makes nodebb-plugin-markdown-extended (please don't)
I don't want to be starting a turf war.
@psychobunny said:
https://community.nodebb.org/topic/1348/nodebb-plugin-spoilers-spoiler-text-in-posts#9809
Nicely done.
-
@julian Why no extended? worked great with emoji ^^ to be honest I don't like most improvements for markdown, there may be a handful useful dependent on the use-case but all in all markdown is slim and it's nice not to have blinking/colored text, etc. everywhere... so it's best practice in my mind to make a single plugin for each markdown-extension instead