iop-alliance / OpenKnowHow

A metadata specification to enable the collection of distributed, standardised metadata of open source hardware designs
GNU General Public License v3.0
2 stars 1 forks source link

Should we prescribe/suggest a Markdown flavour? #17

Open hoijui opened 2 years ago

hoijui commented 2 years ago

If the readme field links to README.md we would require/suggest.check-whether that to adheres to a certain Markdown flavor (~= specific set of allowed syntax and extensions).

Pro

The benefit of this would be, that consumers of OKH data would be able to assume/know, that they can render a projects documentation properly/as intended by the creators.

Likely candidates for that standard-flavor

Alternative

Each project may define which standard they use

moedn commented 1 year ago

not sure about this.

hoijui commented 1 year ago

The reason for this request is, to be able to nicely visualize the text. but indeed, it might simply make most sense, to leave it completely open, and have the consumers of the data use some heuristics/detection library, which figures out the most likely candidate of MD flavor in each case, and use that (or say, convert it to whatever flavour that consumer wants to use) before converting to e.g HTML.