Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stand alone html does not render code properly #13

Closed
neilhwatson opened this issue Mar 16, 2019 · 2 comments
Closed

Stand alone html does not render code properly #13

neilhwatson opened this issue Mar 16, 2019 · 2 comments

Comments

@neilhwatson
Copy link

The slide deck below does not render the code properly in the standalone html. The indentation is lost.


title: bug report
pdf: slides.pdf
standalone: slides.html


Code

This code does not render prpoperly in standalone slides.html

# Is indented
if [[ 0 -eq 0 ]]
then
   echo "do something"
else
   echo "do something else"
if
# Looks like this in standalone html
if [[ 0 -eq 0 ]]
then
echo "do something"
else
echo "do something else"
if
@arnehilmann
Copy link
Owner

That is strange indeed. I try to investigate that issue in the next few days...

@arnehilmann
Copy link
Owner

fixed in arne/markdeck-standalone:0.4
sigh solution found here: https://stackoverflow.com/questions/29689172/bash-read-ignores-leading-spaces#29689199

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants