Sha256: dd1f088496f704cccb7a4084fe440d6ad6e37858bfab933200acc83287e7c4b1

Contents?: true

Size: 615 Bytes

Versions: 9

Compression:

Stored size: 615 Bytes

Contents

{%- case node.type -%}
{%- when 'emphasis' -%}
  <em>{{ node.text }}</em>
{%- when 'strong' -%}
  <strong>{{ node.text }}</strong>
{%- when 'monospaced' -%}
  <code>{{ node.text }}</code>
{%- when 'superscript' -%}
  <sup>{{ node.text }}</sup>
{%- when 'subscript' -%}
  <sub>{{ node.text }}</sub>
{%- when 'double' -%}
  &#8220;{{ node.text }}&#8221;
{%- when 'single' -%}
  &#8216;{{ node.text }}&#8217;
{%- when 'mark' -%}
  <mark>{{ node.text }}</mark>
{%- when 'asciimath' -%}
  \\${{ node.text }}\\$
{%- when 'latexmath' -%}
  \\({{ node.text }}\\)
{%- else -%}
  <span>{{ node.text }}</span>
{%- endcase -%}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
asciibook-0.1.0 templates/inline_quoted.html
asciibook-0.1.0.pre.beta templates/inline_quoted.html
asciibook-0.0.5 templates/inline_quoted.html
asciibook-0.0.4 templates/inline_quoted.html
asciibook-0.0.3 templates/inline_quoted.html
asciibook-0.0.2 templates/inline_quoted.html
asciibook-0.0.2.beta2 templates/inline_quoted.html
asciibook-0.0.2.beta1 templates/inline_quoted.html
asciibook-0.0.1 templates/inline_quoted.html