Hybrid Dog wrote:sorcerykid wrote:Profiles allow users to build a personalized homepage, to describe themselves, their interests, etc. with access to the complete Bedrock Markup Language (also used in the signs_rx mod) -- which has been extended to with support for embedded images, hyperlinks, and dynamic variables.
This makes me think that a mod which converts markdown to a formspec could be a good idea, markdown is well-known and even readable as source after all.
I'd considered few different markup standards, including HTML and markdown. However, markdown would not suffice since formspecs do not support headings, subheadings, bold text, italic text, or underlined text which are integral to markdown. Likewise, the specification does not account whatsoever for colored text, bordered text, tab stops, pagination, paragraph spacing, etc.
HTML seemed like a better candidate, but it would have required a far more sophisticated parser, which was overkill for basic layout and formatting of signs. BBCode was a happy medium, and mostly inspired the Bedrock Markup Language syntax, albeit with simpler tags tailored for Minetest. Currently, the entire parser is a mere 270 lines, so it is benefits from being economical and extensible.
Here's an example of a few signs from the JT2 server. I imagine it would be difficult to recreate these with just markdown alone.