Created
September 11, 2019 21:30
-
-
Save emitanaka/e1acc97b44a0512ee08ec806f0503fbc to your computer and use it in GitHub Desktop.
xaringan ninjutsu remark.js bug
This file contains hidden or 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
--- | |
output: | |
xaringan::moon_reader: | |
css: "ninjutsu" | |
seal: false | |
--- | |
class: split-40 | |
count: false | |
.column[.content[ | |
The square bracket in tibble output breaks this. | |
]] | |
.column[.content[ | |
``` | |
# A tibble: 1,386 x 6 | |
season number production_code episode_title guest_star role | |
<chr> <list> <chr> <chr> <chr> <chr> | |
1 1 <chr [… 7G02 Bart the Genius Marcia Wall… Edna Krab… | |
``` | |
]] | |
--- | |
class: split-40 | |
count: false | |
.column[.content[ | |
Super duper hacky method. | |
]] | |
.column[.content[ | |
``` | |
# A tibble: 1,386 x 6 | |
season number production_code episode_title guest_star role | |
<chr> <list> <chr> <chr> <chr> <chr> | |
1 1 <chr [… 7G02 Bart the Genius Marcia Wall… Edna Krab… | |
``` | |
<span style="visibility: hidden;">]]]</span> | |
--- | |
class: split-40 | |
count: false | |
.column[.content[ | |
But works when square bracket is removed. | |
]] | |
.column[ | |
``` | |
# A tibble: 1,386 x 6 | |
season number production_code episode_title guest_star role | |
<chr> <list> <chr> <chr> <chr> <chr> | |
1 1 <chr … 7G02 Bart the Genius Marcia Wall… Edna Krab… | |
``` | |
] | |
--- | |
class: split-40 | |
count: false | |
.column[.content[ | |
This hacky method works. | |
]] | |
.column[.content[] | |
``` | |
# A tibble: 1,386 x 6 | |
season number production_code episode_title guest_star role | |
<chr> <list> <chr> <chr> <chr> <chr> | |
1 1 <chr [… 7G02 Bart the Genius Marcia Wall… Edna Krab… | |
``` | |
]] | |
--- | |
class: split-40 | |
count: false | |
.column[.content[ | |
This breaks the code up :/ | |
]] | |
<div class="column"> | |
``` | |
# A tibble: 1,386 x 6 | |
season number production_code episode_title guest_star role | |
<chr> <list> <chr> <chr> <chr> <chr> | |
1 1 <chr [… 7G02 Bart the Genius Marcia Wall… Edna Krab… | |
``` | |
</div> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment