Skip to content

Instantly share code, notes, and snippets.

@zaydek-old
Created October 3, 2019 10:15
Show Gist options
  • Save zaydek-old/ed851f1c1ec78ce90102c11ed90f4b67 to your computer and use it in GitHub Desktop.
Save zaydek-old/ed851f1c1ec78ce90102c11ed90f4b67 to your computer and use it in GitHub Desktop.
// // "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