modip-org / spec

Please use Modrinth's spec - https://github.com/modrinth/docs/blob/master/docs/modpacks/format_definition.md
Creative Commons Zero v1.0 Universal
2 stars 2 forks source link

The Description Problem #15

Open stairman06 opened 3 years ago

stairman06 commented 3 years ago

How do you store a mod description? This goes through some options and lists their pros and cons.

Markdown

Pros:

Cons:

Pure HTML

Pros:

Cons:

Custom HTML subset-like format (e.g. Formatted Text)

Pros:

Cons:

Ruled-out ideas

Other ideas have been suggested, but I think these should be ruled out due to various flaws.

Allowing any format

This would allow any format to be used, as long as it's specified correctly. The problem with this is the implementation. Any implementation would have to implement multiple language readers, which is complicated and leads to confusion.

Another markup format (e.g. Asciidoc)

Other markup formats have too little usage in order to be justifiable. Transforming Markdown to another format, like Asciidoc, requires effort and may not lead to good quality in some cases. Instead, it might be better to use HTML or a subset, which nearly every markup language can already compile to.

All feedback. opinions, and discussion are welcome.

immibis commented 3 years ago

For me, markdown is right out because:

Asciidoc has the exact same problems as Markdown. It may as well be a variant of Markdown for this discussion.

And multi-format is also right out. Multi-format forces every client to include a parser for every format, which is just stupid. Even mandating HTML would be better than that idea. (if they have to include an HTML parser anyway, why not make it the only parser?)

stairman06 commented 3 years ago

I am leaning towards an HTML subset personally. It would cover nearly every use-case and doesn't have the problems of Markdown and any of its variants.