summaryrefslogtreecommitdiff
path: root/src/library/spacing.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-08-04 11:46:04 +0200
committerLaurenz <laurmaedje@gmail.com>2020-08-04 11:46:04 +0200
commited4fdcb0ada909f1cc3d7436334e253f0ec14d55 (patch)
tree2b9abe7a852a060899ce4aa976391fa8dd9d293b /src/library/spacing.rs
parentdbfb3d2ced91e56314dfabbb4df9a338926c0a7a (diff)
Par nodes 🧳
Diffstat (limited to 'src/library/spacing.rs')
-rw-r--r--src/library/spacing.rs20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/library/spacing.rs b/src/library/spacing.rs
index 545f3910..6503556f 100644
--- a/src/library/spacing.rs
+++ b/src/library/spacing.rs
@@ -3,26 +3,6 @@ use crate::length::ScaleLength;
use super::*;
function! {
- /// `parbreak`: Ends the current paragraph.
- ///
- /// This has the same effect as two subsequent newlines.
- #[derive(Debug, Default, Clone, PartialEq)]
- pub struct ParBreakFunc;
-
- parse(default)
- layout(self, ctx, f) { vec![BreakParagraph] }
-}
-
-function! {
- /// `pagebreak`: Ends the current page.
- #[derive(Debug, Default, Clone, PartialEq)]
- pub struct PageBreakFunc;
-
- parse(default)
- layout(self, ctx, f) { vec![BreakPage] }
-}
-
-function! {
/// `h` and `v`: Add horizontal or vertical spacing.
#[derive(Debug, Clone, PartialEq)]
pub struct SpacingFunc {