Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
remark.js bug - unclosed square bracket
<!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>
@emitanaka

This comment has been minimized.

Copy link
Owner Author

emitanaka commented Sep 11, 2019

Screen Shot 2019-09-12 at 8 13 47 am

Screen Shot 2019-09-12 at 8 13 56 am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.