remark.js bug - unclosed square bracket
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang=""> | |
<head> | |
<meta charset="utf-8" /> | |
<style> | |
.column1, .column2 { | |
position: absolute; | |
top:0; | |
width:50%; | |
} | |
.column1 { left:0; } | |
.column2 { left:50%; } | |
</style> | |
</head> | |
<body> | |
<textarea id="source"> | |
.column1[ | |
This slide works all fine | |
] | |
.column2[ | |
in splitting to two. | |
] | |
--- | |
.column1[ | |
Adding un-closed square brackets breaks it. | |
] | |
.column2[ | |
``` | |
[ | |
``` | |
] | |
</textarea> | |
<style data-target="print-only">@media screen {.remark-slide-container{display:block;}.remark-slide-scaler{box-shadow:none;}}</style> | |
<script src="https://remarkjs.com/downloads/remark-latest.min.js"></script> | |
<script>var slideshow = remark.create(); | |
if (window.HTMLWidgets) slideshow.on('afterShowSlide', function (slide) { | |
window.dispatchEvent(new Event('resize')); | |
}); | |
</script> | |
</body> | |
</html> |
Author
emitanaka
commented
Sep 11, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment