Hello!
would it be possible to mave the wikipages support Markdown?
a lot of dnd websites use Markdown to create 5e stat blocks such as:
https://5e.tools/bestiary.html#girallon_vgm,bookview:true
https://homebrewery.naturalcrit.com/
https://tetra-cube.com/dnd/dnd-statblock.html
I though this could be a cool way to display a statblock or other dnd type of displays in a wiki page without having to screenshot and upload more pictures.
Is this possible?
Cheers,
Frak
twitter: @Frak_Lou_Elmo
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
That second sample works really well as a sales pitch. Looks good.
- Kallak
It's on the list of things we'd like to do, but we have to be REALLY careful with this. We currently support Textile and HTML ... and even just with those we get surprise interactions. So adding in another language that needs to be parsed out and could have additional surprise interactions could be a headache.
One possibility is to have the GM be able to choose if the Campaign uses one or the other ... Textile or Markdown, but not both. Thoughts on that?
Obsidian Portal Developer
@thaen having a choice would be a good solution! maybe a button on the settings for the whole campaign or a button on the wikipage creation if it could be done per page?
I just found a temporary solution for me, there are markdown to html converters online so I have been able to copy/paste a monster stat block from 5e.tools and insert it into a wikipage but it doesn't come out as neat:
https://gaximplague.obsidianportal.com/wikis/girallon
@Kallak the homebrewery is absolutely fantastic! I, a humble noob with no programming understanding, have been able to make some very cool hand outs for my players like this one:
https://homebrewery.naturalcrit.com/share/1p_TNV3aduYM9VXEg2Tj1cxLodsxp_NzeKtNaOFBW0G0c
twitter: @Frak_Lou_Elmo
Per page would probably be too much clutter for not enough benefit, but we already have both a "Default Editor" and "Markup Parser" setting in Settings -> Advanced. So we would probably add the option to one of those, and it would apply to the entire Campaign.
Fantastic solution with the online Markdown to HTML converters!
Obsidian Portal Developer
I have been thinking about this: if you added Markdown as an advanced options to the settings and I clicked it on in a campaign that already has Textile, would I need to go back and fix the older pages because the formatting will be all wierd?
twitter: @Frak_Lou_Elmo
As long as you (or someone in your Campaign) didn't Edit and reSave the older pages, they would stay the way they are. The pages are essentially "precompiled" at the time of the Save. So only newly created pages would be processed with the new Markdown processor.
Obsidian Portal Developer
that sounds great!
twitter: @Frak_Lou_Elmo