Hello, is it possible to integrate this into NodeBB? Or is there a plugin for something like this?
https://github.com/markdown-it/markdown-it-container
54a0961a-6615-46ef-a6a3-a24b95dff19a-grafik.png
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.
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
inb4 @frissdiegurke makes nodebb-plugin-markdown-extended (please don't)
@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
@frissdiegurke said:
so it's best practice in my mind to make a single plugin for each markdown-extension instead
I completely agree with this assessment.