Is there a Markdown dialect or other minimal markup language that is tailored to the needs of linguists (of all sorts)?
I would expect it do treat the following constructs:
- An asterisk directly preceding a word
*wrongdoesn’t start emphasis. - A question mark directly preceding a word
?doubtfulis put in superscript. - Less-than
<and greater-than>marks surrounded by spaces show etymology and may be replaced by other symbols like arrows or other prettier symbols≺ ≻. - Most strings enclosed in
/slashes/or[square brackets]use (X-)SAMPA or Kirshenbaum and are converted to IPA,- except ones preceded by plus or minus sign for
[±features] - and also all-uppercase
[MORPH(EME)S].
- except ones preceded by plus or minus sign for
- Characters or strings in
<angular brackets>are 〈graphemic〉 unless they can be parsed as an absolute URL. - Digits, possibly followed by apostrophes (or other symbols), inside round parentheses
(1')mark examples at the beginning of a line and references to them elsewhere. Double parentheses for references((2))would be tolerable. - Phrases enclosed by single quotation marks
',’including accent marks´are set in italics and are not emphasized (HTML<i>, not<em>). - Inside regular quotations, round and square brackets are highlighted, especially if they only contain dots
[...],(…)or uppercase letters[SIC],[sic!]. - Some syntax for simple trees.
- Table syntax reused for interlinear glosses.
- Other markup, like
|letter|, could be added by the user easily.
That reminds me that I’ve never found a good introduction to the variety of linguistic typography. Everyone just teaches what they uses themself, or expects students to “just know”.