That's probably why, not sure if this plugin was updated to support 0.6.0. Also I'm not sure it was ever designed to parse bbcode on the fly like that. But I could be wrong.
I'm looking to expand markdown beyond the simple bold, italics, list, and whatnot to include the following:
I'd like to put these all into a single plugin, as a sort of "markdown expander" that expands on the current limited amount of choices that we have at the moment.
I'm pretty sure it already has the capabilities mentioned. After all, it's in use on Reddit. Seems like we just need a plugin to add the buttons to the composer. I'll have to check the Markdown docs though.
I'm all for this!
Kind of defeats the point of markdown. It's the opposite of markup. Markdown is probably quite primitive if you're used to plain HTML or even BBCode(shudder).
You could probably add that sort of thing by forking the youtube plugin, doing something like
/*wildy oversimplified this, probably needs escaping properly*/ var underline = /[u]([\w\-_]+)[/u]/;
which is the bbcode variant of [u]text goes here[/u], then
embed = '<span class="underlined">$1</span>';
EDIT: Table can already be done.
|col 3 is||right-aligned||$1600|
|col 2 is||centered||$12|
|zebra stripes||are neat||$1|
I don't think we need more Markdown functionality, but more features available in the composer, rather than syntax for thise new to Markdown.
This would be a great plugin for those interested.
Here's an example of a plugin that expands on the current markdown syntax: https://github.com/psychobunny/nodebb-plugin-spoilers
Also shows you how to add new buttons to the composer.
EDIT: This isn't the first, there is a plugin that extends markdown to allow one to change colour of text for example.
EDIT2: Eh, I didn't realize that our markdown plugin supported tables. Cool! I guess it could use some CSS love though
@Tanner, I've got a working button to allow for Code insertion. I'll see what I can do about adding more buttons as requested.