Converting Wiki Posts to HTML

We are looking to use some categories of our forum to crowdsource knowledge from comments that will be incorporated into wiki posts via moderators. This content will then be published read-only on another site in HTML.

I realize there are probably a lot of markdown parsers (although the post syntax is not strictly MD) in Python (our platform) that can output HTML, but I wondered if anyone had done something like this with Discourse and had any particular recommendations about a specific parser or some other aspect of this task.

Thanks!

2 Likes

Just pull the cooked post? Discourse converts it to html. Just add .json to the end of the post url and look.

6 Likes

@falco recently made the /raw/ path work for the entire topic as well as the post. Thus, try:

https://meta.discourse.org/raw/202680/2
https://meta.discourse.org/raw/202680

3 Likes

Awesome, that’s really useful. Thanks @falco !

1 Like