Skip to content
  • Jonathan Hefner's avatar
    d1411b20
    Split up code blocks for multi-file examples [ci-skip] · d1411b20
    Jonathan Hefner authored
    RDoc treats consecutive indented lines as a single code block.  For code
    examples that span multiple files / languages, this confuses the syntax
    highlighter and makes the examples harder to read.  Unfortunately, RDoc
    doesn't provide syntax to prevent this, and it ignores multiple
    consecutive blank lines.  However, by inserting an empty tag such as
    `<code></code>`, we can force RDoc to recognize separate code blocks.
    d1411b20
    Split up code blocks for multi-file examples [ci-skip]
    Jonathan Hefner authored
    RDoc treats consecutive indented lines as a single code block.  For code
    examples that span multiple files / languages, this confuses the syntax
    highlighter and makes the examples harder to read.  Unfortunately, RDoc
    doesn't provide syntax to prevent this, and it ignores multiple
    consecutive blank lines.  However, by inserting an empty tag such as
    `<code></code>`, we can force RDoc to recognize separate code blocks.
Loading