minetest / contentdb

A content database for Minetest mods, games, and more
https://content.minetest.net
GNU Affero General Public License v3.0
95 stars 46 forks source link

Switch to a different markdown parser #537

Open rubenwardy opened 3 months ago

rubenwardy commented 3 months ago

Problem

ContentDB currently uses python markdown, which aims to implement markdown exactly as written in the original document. This causes a lot of confusion with users, as most sites use a less strict version of Markdown such as GitHub Flavored Markdown or Common Markdown. For example, one error that catches users out is that blank lines are required around blocks (paragraphs, lists, code blocks, etc)

Solutions

Switch to a less strict markdown parser, such as GitHub Flavored Markdown or Common Mark

Will need to test with existing packages to make sure that breakages aren't too severe