mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
Fix incomplete line endings (#1866)
This commit is contained in:
parent
e3115336bf
commit
823fc5e5c4
@ -70,4 +70,4 @@ contexts:
|
|||||||
push: block_comment
|
push: block_comment
|
||||||
- match: '\|#'
|
- match: '\|#'
|
||||||
scope: punctuation.definition.comment.sexpr
|
scope: punctuation.definition.comment.sexpr
|
||||||
pop: true
|
pop: true
|
||||||
|
@ -1 +1 @@
|
|||||||
"only a string"
|
"only a string"
|
||||||
|
Binary file not shown.
@ -1 +1 @@
|
|||||||
this_will_break: [)
|
this_will_break: [)
|
||||||
|
@ -23,4 +23,4 @@
|
|||||||
</defs>
|
</defs>
|
||||||
<path class="uuid-0c7f9eba-fb5c-4f1c-9149-e06b72f4e892" d="m23.679,7.031v17.941c0,1.407-3.435,2.56-7.679,2.56s-7.679-1.152-7.679-2.56V7.031c0-1.418,3.435-2.56,7.679-2.56s7.679,1.141,7.679,2.56Z"/>
|
<path class="uuid-0c7f9eba-fb5c-4f1c-9149-e06b72f4e892" d="m23.679,7.031v17.941c0,1.407-3.435,2.56-7.679,2.56s-7.679-1.152-7.679-2.56V7.031c0-1.418,3.435-2.56,7.679-2.56s7.679,1.141,7.679,2.56Z"/>
|
||||||
<ellipse class="uuid-b242de72-c4d3-4028-9f50-e25a891b77c6" cx="16" cy="7.029" rx="7.681" ry="2.56"/>
|
<ellipse class="uuid-b242de72-c4d3-4028-9f50-e25a891b77c6" cx="16" cy="7.029" rx="7.681" ry="2.56"/>
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
@ -1 +1 @@
|
|||||||
Hello, world!
|
Hello, world!
|
||||||
|
@ -17,4 +17,4 @@
|
|||||||
<polygon class="uuid-2456d980-f63b-4fa8-8dc4-6bc7ec43cb9d" points="29.689 20.18 15.999 26.07 15.999 5.93 29.689 20.18"/>
|
<polygon class="uuid-2456d980-f63b-4fa8-8dc4-6bc7ec43cb9d" points="29.689 20.18 15.999 26.07 15.999 5.93 29.689 20.18"/>
|
||||||
<polygon class="uuid-603863eb-1f17-44fc-809f-235048ac00d5" points="29.686 20.177 15.999 26.067 2.311 20.177 15.999 5.933 29.686 20.177"/>
|
<polygon class="uuid-603863eb-1f17-44fc-809f-235048ac00d5" points="29.686 20.177 15.999 26.067 2.311 20.177 15.999 5.933 29.686 20.177"/>
|
||||||
<line class="uuid-603863eb-1f17-44fc-809f-235048ac00d5" x1="15.999" y1="5.933" x2="15.999" y2="26.067"/>
|
<line class="uuid-603863eb-1f17-44fc-809f-235048ac00d5" x1="15.999" y1="5.933" x2="15.999" y2="26.067"/>
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 830 B After Width: | Height: | Size: 831 B |
@ -5,4 +5,4 @@ float: 1.12
|
|||||||
mapping: { '1': "one", '2': "two"}
|
mapping: { '1': "one", '2': "two"}
|
||||||
seq: [1, 2, 3, 4]
|
seq: [1, 2, 3, 4]
|
||||||
bool: false
|
bool: false
|
||||||
true: bool
|
true: bool
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
---
|
---
|
||||||
// Test reading plain text files
|
// Test reading plain text files
|
||||||
#let data = read("/files/hello.txt")
|
#let data = read("/files/hello.txt")
|
||||||
#test(data, "Hello, world!")
|
#test(data, "Hello, world!\n")
|
||||||
|
|
||||||
---
|
---
|
||||||
// Error: 18-38 file not found (searched at files/missing.txt)
|
// Error: 18-38 file not found (searched at files/missing.txt)
|
||||||
@ -62,7 +62,7 @@
|
|||||||
))
|
))
|
||||||
|
|
||||||
---
|
---
|
||||||
// Error: 7-24 failed to parse toml file: expected `.`, `=`, index 15-15
|
// Error: 7-24 failed to parse toml file: expected `.`, `=`, index 15-16
|
||||||
#toml("/files/bad.toml")
|
#toml("/files/bad.toml")
|
||||||
|
|
||||||
---
|
---
|
||||||
|
@ -30,4 +30,4 @@ D E F #linebreak(justify: true)
|
|||||||
// Test that the last line can be shrunk
|
// Test that the last line can be shrunk
|
||||||
#set page(width: 155pt)
|
#set page(width: 155pt)
|
||||||
#set par(justify: true)
|
#set par(justify: true)
|
||||||
This text can be fitted in one line.
|
This text can be fitted in one line.
|
||||||
|
@ -56,4 +56,4 @@ $ 1/(V^2^3^4^5),
|
|||||||
bl: attach(2, bl: attach(3, bl: attach(4, bl: 5))),
|
bl: attach(2, bl: attach(3, bl: attach(4, bl: 5))),
|
||||||
br: attach(2, br: attach(3, br: attach(4, br: 5))),
|
br: attach(2, br: attach(3, br: attach(4, br: 5))),
|
||||||
)
|
)
|
||||||
$
|
$
|
||||||
|
Loading…
x
Reference in New Issue
Block a user