@KnickKnack said in markdown code highlight theme does not work?:
Automatically detect and highlight code blocks
It does works. Thank you.
Update: Markdown tables did work without upgrade. I copied and pasted code without realizing that it was reformatted. That's why it failed before.
Hi,
I copied code from https://community.nodebb.org/topic/6293/markdown-tables
but I am having no luck. Please help.
I am using
ā composer (default) Installed 3.0.22 | Latest 3.0.22
ā nodebb-plugin-markdown Installed 5.0.1 | Latest 5.0.1
Thanks for reading.
What version of NodeBB?
This was added in Markdown 6.0.1, which will only show up in NodeBB v1.0.3 or greater.
I am running NodeBB v1.0.3.
Ā
My acp shows 5.0.1 is the latest one. Do I need to manually upgrade?
@noobbb strange. Yeah. Manual upgrade should be fine.
eg npm install [email protected]
@yariplus Cool. Do I need to uninstall the markdown plugin first and then manually install?
@noobbb Nope. When you specify a version with @latest
it will automatically overwrite the old one.
@yariplus So I tried the "npm install [email protected]" and I got permanent 502 gateway error. Then, I tried deactivate > install markdown from the ACP. In the second attempt, markdown table works. In both cases I saw this.
Thanks for the help. Now I can finally have nice looking tables