katsulynx submitted a new resource:
[KL] Markdown Parser - Markdown Support for XenForo
Read more about this resource...
[KL] Markdown Parser - Markdown Support for XenForo
Read more about this resource...
- Fixed an error with non-matching Uppercase-Character in class names, preventing the addon from working on non-windows systems (sorry
)
PATCH NOTES
- This addon is now out of beta.
- The underlying structure has been changed, so markdown is now first mapped to BBCode, before BBCode is actually rendered. This offers the following improvements:
- Markdown and BBCode can now be fully mixed in absolutely every possible combination
- More markdown commands are now available, including Quotes and Code-Blocks
- Headlines are now mapped to XenForos [size]-tag, eliminating potential styling...
Added License
Well, we haven't been able to get this to work properly.
If anyone else is using with success, please let me know.
It may be a good idea to make a switch for the editor to switch between BB code and Markdown.
I have a question. Does a post containing Markdown actually store the Markdown, which gets dynamically converted to BBCode and rendered on the fly when the post is viewed, or does it pre-convert to BBCode and store just the BBCode in the post without preserving the original Markdown?
The markdown if I remember correctly.Right, I'm just asking if the converted BBCode is actually saved into the post or if the Markdown is converted to BBCode right before the normal BBCode parsing stage during view only. Or, in other words, if I edit a post that used Markdown will I see the original Markdown or the generated BBCode?
Sorry, I forgot to reply after coming back from holidays. I have a quick fix around, but it certainly only makes the problem worse, so I have to put some more time into working around this.
PATCH NOTES
- Fixed a bug that unintentionally rendered some HTML special characters into their raw text form (mostly ' and &, maybe some others).
It may be a good idea to make a switch for the editor to switch between BB code and Markdown.
*Italic* -> [i]Italic[/i]
_Italic_ -> [i]italic[/i]
**Bold** -> [b]Bold[/b]
__Bold__ -> [b]Bold[/b]
***Bold Italic*** -> [b][i]Bold Italic[/i][/b]
*__Bold Italic__* -> [b][i]Bold Italic[/i][/b]
**_Bold Italic_** -> [b][i]Bold Italic[/i][/b]
___Bold Italic___ -> [b][i]Bold Italic[/i][/b]
* List 1 -> [list][*] List 1
* List 2 -> [*]List 2
- List 3 -> [*] List 3
- List 4 -> [*]List 4[/list]
1. List -> [list=1][*]List[/list]
# Text -> [size=7]Text[/size]
## Text -> [size=6]Text[/size]
### Text -> [size=5]Text[/size]
#### Text -> [size=4]Text[/size]
##### Text -> [size=3]Text[/size]
###### Text -> [size=2]Text[/size]
####### Text -> [size=1]Text[/size]
> Quote -> [quote]Quote[/quote]
`Some Code` -> [code]Some Code
Line 1.
Line 2.
Instead looks like this:Line 1.
Line 2.
Line 1.
Line 2.
We use essential cookies to make this site work, and optional cookies to enhance your experience.