Skip to content

Commit

Permalink
Clojure: Added multiline strings (lisp style) (#2061)
Browse files Browse the repository at this point in the history
This adds support for linebreaks in Clojure strings.
  • Loading branch information
sooheon authored and RunDevelopment committed Sep 25, 2019
1 parent a7b95dd commit 8ea685b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
5 changes: 4 additions & 1 deletion components/prism-clojure.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/prism-clojure.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions tests/languages/clojure/string_feature.test
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
""
"Fo\"obar"
"multi-line
string"

----------------------------------------------------

[
["string", "\"\""],
["string", "\"Fo\\\"obar\""]
["string", "\"Fo\\\"obar\""],
["string", "\"multi-line\nstring\""]
]

----------------------------------------------------

Checks for strings.
Checks for strings.

0 comments on commit 8ea685b

Please sign in to comment.