Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspervdj committed Feb 9, 2024
1 parent 083dac5 commit 1e52a61
Show file tree
Hide file tree
Showing 2 changed files with 104 additions and 0 deletions.
46 changes: 46 additions & 0 deletions tests/golden/inputs/margins-auto.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
author: 'Jasper'
patat:
margins:
left: auto
right: auto
...

# A header

Some text

## Subheader

with more info

1. One
2. Two
3. Three

# Hello

- Some really fancy lists
- With another list embedded:
* Yes
* No
- And a codeblock:

```
1 + 2
```

And a paragraph

```haskell
Yeah | Nope
```

# Vertical centered slide

<!--config:
margins:
top: auto
-->

Yo
58 changes: 58 additions & 0 deletions tests/golden/outputs/margins-auto.md.dump
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
 margins-auto.md 

 # A header

 Some text

 ## Subheader

 with more info

 1. One
 2. Two
 3. Three

 Jasper 1 / 3 

{slide}
 margins-auto.md 

 # Hello

 - Some really fancy lists

 - With another list embedded:

 * Yes
 * No

 - And a codeblock:

  
  1 + 2 
  


 And a paragraph

  
  Yeah | Nope 
  

 Jasper 2 / 3 

{slide}
 margins-auto.md 








 # Vertical centered slide

 Yo

 Jasper 3 / 3 

0 comments on commit 1e52a61

Please sign in to comment.