Created
October 3, 2019 10:15
-
-
Save zaydek-old/ed851f1c1ec78ce90102c11ed90f4b67 to your computer and use it in GitHub Desktop.
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
// // "linear-gradient(transparent 0.65em, hsl(var(--blue-a200)) 0.65em, hsl(var(--blue-a200)) 0.72em, transparent 0.72em)" | |
// function Strikethrough(props) { | |
// return ( | |
// <strike style={boundsBackground}> | |
// <Markdown syntax="~" /> | |
// <span style={{ textDecoration: "line-through" }}> | |
// {props.children} | |
// </span> | |
// <Markdown syntax="~" /> | |
// </strike> | |
// ) | |
// } | |
// | |
// case ( | |
// (peek1 = getPeek(data, x2, "~")) && | |
// peek1[1] >= peek1[0] | |
// ): | |
// [x1, x2] = peek1 | |
// Components.push( | |
// <Strikethrough | |
// children={ | |
// parseText(data.slice(x1, x2)) | |
// } | |
// /> | |
// ) | |
// x2 += "~".length | |
// break |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment