[gtksourceview: 2/3] jade.lang: Add test file
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview: 2/3] jade.lang: Add test file
- Date: Tue, 29 Jun 2021 17:49:45 +0000 (UTC)
commit 5f475cdbbd4ef7e60dcacea11a336763a9314f21
Author: Colin Kinloch <colin kinlo ch>
Date: Tue Jun 29 18:18:31 2021 +0100
jade.lang: Add test file
tests/syntax-highlighting/file.jade | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
---
diff --git a/tests/syntax-highlighting/file.jade b/tests/syntax-highlighting/file.jade
new file mode 100644
index 00000000..af90c56e
--- /dev/null
+++ b/tests/syntax-highlighting/file.jade
@@ -0,0 +1,22 @@
+// Comment
+- // This is JavaScript
+- var title = 'jade test'
+
+doctype
+html
+ head
+ title #{title}
+ body
+ h1.title #{title}
+ // This comment will be output
+ //- This comment wont be output
+ //-
+ p This element is in a comment
+ p This element is not in a comment
+ p
+ | The pipe always goes at the beginning of its own line,
+ | not counting indentation.
+ p.
+ Using regular tags can help keep your lines short,
+ but interpolated tags may be easier to #[em visualize]
+ whether the tags and text are whitespace-separated.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]