mirror of
https://github.com/typst/typst
synced 2025-06-28 08:12:53 +08:00
Move around test cases 🚚
This commit is contained in:
parent
df7ba36474
commit
9c040a9d2b
@ -4,7 +4,7 @@
|
|||||||
//! definitions.
|
//! definitions.
|
||||||
|
|
||||||
mod align;
|
mod align;
|
||||||
mod base;
|
mod basic;
|
||||||
mod font;
|
mod font;
|
||||||
mod image;
|
mod image;
|
||||||
mod lang;
|
mod lang;
|
||||||
@ -17,7 +17,7 @@ mod spacing;
|
|||||||
|
|
||||||
pub use self::image::*;
|
pub use self::image::*;
|
||||||
pub use align::*;
|
pub use align::*;
|
||||||
pub use base::*;
|
pub use basic::*;
|
||||||
pub use font::*;
|
pub use font::*;
|
||||||
pub use lang::*;
|
pub use lang::*;
|
||||||
pub use markup::*;
|
pub use markup::*;
|
||||||
|
BIN
tests/ref/markup/basic.png
Normal file
BIN
tests/ref/markup/basic.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.7 KiB |
Binary file not shown.
Before Width: | Height: | Size: 3.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.6 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
@ -1,4 +1,4 @@
|
|||||||
// Test the base functions.
|
// Test basic functions.
|
||||||
// Ref: false
|
// Ref: false
|
||||||
|
|
||||||
---
|
---
|
22
tests/typ/markup/basic.typ
Normal file
22
tests/typ/markup/basic.typ
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
// Test basic markup.
|
||||||
|
|
||||||
|
---
|
||||||
|
#let linebreak() = [
|
||||||
|
// Inside the old line break definition is still active.
|
||||||
|
#circle(radius: 2pt, fill: #000) \
|
||||||
|
]
|
||||||
|
|
||||||
|
A \ B \ C
|
||||||
|
|
||||||
|
---
|
||||||
|
// Paragraph breaks don't exist!
|
||||||
|
#let parbreak() = [ ]
|
||||||
|
|
||||||
|
No more
|
||||||
|
|
||||||
|
paragraph breaks
|
||||||
|
|
||||||
|
for you!
|
||||||
|
|
||||||
|
---
|
||||||
|
The non-breaking~space does work.
|
@ -1,25 +0,0 @@
|
|||||||
// Test forced line breaks.
|
|
||||||
|
|
||||||
---
|
|
||||||
// Directly after word.
|
|
||||||
Line\ Break
|
|
||||||
|
|
||||||
// Spaces around.
|
|
||||||
Line \ Break
|
|
||||||
|
|
||||||
// Directly before word does not work.
|
|
||||||
No \Break
|
|
||||||
|
|
||||||
\ Before
|
|
||||||
|
|
||||||
Multiple \ \ \
|
|
||||||
|
|
||||||
Times
|
|
||||||
|
|
||||||
---
|
|
||||||
#let linebreak() = [
|
|
||||||
// Inside the old line break definition is still active.
|
|
||||||
#circle(radius: 2pt, fill: #000) \
|
|
||||||
]
|
|
||||||
|
|
||||||
A \ B \ C
|
|
@ -1,4 +0,0 @@
|
|||||||
// Test the non breaking space.
|
|
||||||
|
|
||||||
---
|
|
||||||
The non-breaking~space does work.
|
|
@ -1,11 +0,0 @@
|
|||||||
// Test paragraph breaks.
|
|
||||||
|
|
||||||
---
|
|
||||||
// Paragraph breaks don't exist!
|
|
||||||
#let parbreak() = [ ]
|
|
||||||
|
|
||||||
No more
|
|
||||||
|
|
||||||
paragraph breaks
|
|
||||||
|
|
||||||
for you!
|
|
Loading…
x
Reference in New Issue
Block a user