Skip to content

Commit

Permalink
Revert "Try one case of TeX inline code syntax highlighting"
Browse files Browse the repository at this point in the history
Didn't work as expected.

This reverts commit 809c61d.
  • Loading branch information
henrikt-ma committed Mar 9, 2021
1 parent 809c61d commit 796c2aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion styleguide.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Note that there's often an associated rule in the Modelica grammar, which should

Appearance | LaTeX source
--- | ---
`if-equation` | `\lstinline[language=grammar]!if-equation!`{:.language-tex}
`if-equation` | `\lstinline[language=grammar]!if-equation!`

Note: The hyphenation may sometimes appear grammatically incorrect, but the consistent use of hyphenation helps readability, and in some contexts the hyphen gives extra safety against reading the language name/keyword as part of the sentence structure.
For example, compare:
Expand Down

0 comments on commit 796c2aa

Please sign in to comment.