Skip to content

Instantly share code, notes, and snippets.

@ggrossetie
Last active July 22, 2018 19:21
Show Gist options
  • Save ggrossetie/3b376669cf694e0229008fce4007ed8a to your computer and use it in GitHub Desktop.
Save ggrossetie/3b376669cf694e0229008fce4007ed8a to your computer and use it in GitHub Desktop.
Use `/*` and `*/` for multiline comments.
[
  Inline(:plain,      text='Use ',  children=[]),
  Inline(:monospaced, text='/*',    children=[]),
  Inline(:plain,      text=' and ', children=[]),
  Inline(:monospaced, text='*/',    children=[]),
  Inline(:plain,      text=' for multiline comments.', children=[])
]
This is *a night__ma__~re*
[
  Inline(:plain, text='This is ', children=[]),
  Inline(:bold,  text=nil, children=[
    Inline(:plain,    text='a night', children=[]),
    Inline(:emphasis, text='ma',      children=[]),
    Inline(:plain,    text='~re',     children=[])
  ])
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment