summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMathias Fischler <Mafii@users.noreply.github.com>2023-08-07 13:47:29 +0200
committerGitHub <noreply@github.com>2023-08-07 13:47:29 +0200
commit800744ed9d3923eecf3436f2029e77033e8f1b6a (patch)
tree6b7a16c14fa912204305cb248f9df9a024ee350c /tests
parent63935b9513718027b2af2619998a49a2234c57a5 (diff)
Show warning to user if they use double/empty underscores (italic) (#1871)
Diffstat (limited to 'tests')
-rw-r--r--tests/typ/lint/markup.typ13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/typ/lint/markup.typ b/tests/typ/lint/markup.typ
index 1cb44658..319fec11 100644
--- a/tests/typ/lint/markup.typ
+++ b/tests/typ/lint/markup.typ
@@ -5,9 +5,22 @@
// Warning: 1-3 no text within stars
// Hint: 1-3 using multiple consecutive stars (e.g. **) has no additional effect
**
+
---
// Warning: 1-3 no text within stars
// Hint: 1-3 using multiple consecutive stars (e.g. **) has no additional effect
// Warning: 11-13 no text within stars
// Hint: 11-13 using multiple consecutive stars (e.g. **) has no additional effect
**not bold**
+
+---
+// Warning: 1-3 no text within underscores
+// Hint: 1-3 using multiple consecutive underscores (e.g. __) has no additional effect
+__
+
+---
+// Warning: 1-3 no text within underscores
+// Hint: 1-3 using multiple consecutive underscores (e.g. __) has no additional effect
+// Warning: 13-15 no text within underscores
+// Hint: 13-15 using multiple consecutive underscores (e.g. __) has no additional effect
+__not italic__