Not related to Prince, but I think it would be very nice to have Markdown support in the forum. Maybe a subset of something like GFM?
Forum › Feature requests
Markdown-Support in the forum
That would be nice, but we're a little too busy with Prince development.
There appears to be some Markdown to BBCode converters online, maybe one of them would work?
There appears to be some Markdown to BBCode converters online, maybe one of them would work?
Thanks for the tip!
This one does a decent job, I think. Not everything is supported but the important things seem to work.
This code...
... is converted to:
https://www.princexml.com
Prince
Italic
Bold
BoldItalic
Italic
Bold
BoldItalic
Underline is not supported but can be written in original syntax.
This one does a decent job, I think. Not everything is supported but the important things seem to work.
This code...
<https://www.princexml.com>
[Prince](https://www.princexml.com)
*Italic*
**Bold**
***BoldItalic***
_Italic_
__Bold__
___BoldItalic___
[u]Underline is not supported but can be written in original syntax.[/u]
* One
* Two
* Three
1. One
2. Two
3. Three
> Quote
Next line in quote
```
./prince
```
... is converted to:
https://www.princexml.com
Prince
Italic
Bold
BoldItalic
Italic
Bold
BoldItalic
Underline is not supported but can be written in original syntax.
- One
- Two
- Three
- One
- Two
- Three
Quote
Next line in quote
./prince
I thought it was worth to tweak the current online version a bit to support more of the syntax used here. Attached is a self-contained single file version which can be opened in a browser locally. I added support for headings, underline, emails, images (with or without title) and changed some other things. In most cases it seems to work very well, only sometimes it's necessary to add an additional blank line in the generated output. The credit for the original version of this nice little converter goes to Kyle J Stiemann, thanks!.
(And of course this post was written with this tool ).
So now this code ...
... renders the following:
Heading
Heading
Heading
Italic
Bold
BoldItalic
Italic
Bold
BoldItalic
Underlined.
https://www.princexml.com
Prince
Email:john.doe@example.org
Email:john.doe@example.org
With image title
(And of course this post was written with this tool ).
So now this code ...
# Heading
## Heading
### Heading
*Italic*
**Bold**
***BoldItalic***
_Italic_
__Bold__
___BoldItalic___
~~Underlined.~~
* One
* Two
* Three
1. One
2. Two
3. Three
> Quote
Next line in quote
```
./prince
```
<https://www.princexml.com>
[Prince](https://www.princexml.com)
Email:<john.doe@example.org>
Email:<mailto:john.doe@example.org>
![](http://www.css4.pub/2015/icelandic/dictionary-p3-185.png)
![With image title](http://www.css4.pub/2015/icelandic/dictionary-p3-185.png)
... renders the following:
Heading
Heading
Heading
Italic
Bold
BoldItalic
Italic
Bold
BoldItalic
Underlined.
- One
- Two
- Three
- One
- Two
- Three
Quote
Next line in quote
./prince
https://www.princexml.com
Prince
Email:john.doe@example.org
Email:john.doe@example.org
With image title
Edited by mn4367