Open jruels opened 9 years ago
Tidy-markdown should never output an h2 with a dashed line under it... it would look like ## header
. Maybe it's being turned into a <hr>
? Can you post some example code before and after running tidy-markdown?
Also, can you point me to the docs on reveal.js slide separators? From a cursory look at it, it looks like it just uses section tags for slides.
Sorry for the delay.
I am using Atom with the Github Markdown syntax and tidy-markdown. Below is the original code.
<!-- .slide: data-state="titleslide" -->
# Docker Volumes Lab
Note:
Lab Time:
---
## Lab Overview
- Viewing Container Volumes
- Mapping a Local Volume
---
## Open Windows PowerShell
Right-click the bottom left of the taskbar and click **Windows Powershell**
*Note: To open Windows PowerShell, you can also use the *Win+X* shortcut.*
<!-- .element: style="font-size: 0.6em;" -->
---
## Configure the PowerShell environment
Configure the environment by running `docker-machine.exe env --shell=powershell default | Invoke-Expression`.
PS C:\Users\train> docker-machine.exe env --shell=powershell default | Invoke-Expression
PS C:\Users\train>
<!-- .element: style="font-size: 0.4em;" -->
*Note that this must be set every time that you start a new PowerShell session.*
<!-- .element: style="font-size: 0.6em;" -->
---
and if I save it with Atom while tidy-markdown is enabled it turns into this.
---
- Viewing Container Volumes
- Mapping a Local Volume
---
<!-- .slide: data-state="titleslide" -->
# Docker Volumes Lab
Note:
Lab Time:
## Open Windows PowerShell
Right-click the bottom left of the taskbar and click **Windows Powershell**
_Note: To open Windows PowerShell, you can also use the _Win+X_ shortcut._
<!-- .element: style="font-size: 0.6em;" -->
--------------------------------------------------------------------------------
## Configure the PowerShell environment
Configure the environment by running `docker-machine.exe env --shell=powershell default | Invoke-Expression`.
PS C:\Users\train> docker-machine.exe env --shell=powershell default | Invoke-Expression
PS C:\Users\train>
<!-- .element: style="font-size: 0.4em;" -->
_Note that this must be set every time that you start a new PowerShell session._
<!-- .element: style="font-size: 0.6em;" -->
--------------------------------------------------------------------------------
If I save it using "Plain Text" syntax and tidy-markdown it saves correctly, but if I save with both Github Markdown syntax and tidy-markdown it gets mangled.
Thanks, -js
I have the same issue.
Hello, When editing a markdown file with "---" if I save the file tidy-markdown automatically converts it to a header "--------". This breaks the reveal.js slides.
Thanks!