From 809c61d79b684601d7f2add719845ddd25dba942 Mon Sep 17 00:00:00 2001 From: Henrik Tidefelt Date: Tue, 9 Mar 2021 23:13:02 +0100 Subject: [PATCH] Try one case of TeX inline code syntax highlighting --- styleguide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/styleguide.md b/styleguide.md index 04a8f19d8..c02070e1d 100644 --- a/styleguide.md +++ b/styleguide.md @@ -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!` +`if-equation` | `\lstinline[language=grammar]!if-equation!`{:.language-tex} 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: