Sha256: 0999a63419824266a50ec6e6f2156d203c07d7a83ae48ddb8be85da3bc5af95c

Contents?: true

Size: 632 Bytes

Versions: 12

Compression:

Stored size: 632 Bytes

Contents

### Include Code Block

Use file inclusion to include text as a code block.

#### File to Be Included

Here's a file containing code to be included:

@[markdown](hello.rb)

#### Includer File

Here's a template file that includes it:

@[markdown](includer.md)

The treatment token ```:code_block``` specifies that the included text is to be treated as a code block.

@[:markdown](../interface.md)

#### File with Inclusion

Here's the finished file with the included code block:

@[:pre](included.md)

And here's the finished markdown, as rendered on this page:

---

@[:markdown](included.md)

---

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
markdown_helper-2.5.4 markdown/use_cases/include/include_code_block/use_case_template.md
markdown_helper-2.5.3 markdown/use_cases/include/include_code_block/use_case_template.md
markdown_helper-2.5.2 markdown/use_cases/include/include_code_block/use_case_template.md
markdown_helper-2.5.1 markdown/use_cases/include/include_code_block/use_case_template.md
markdown_helper-2.5.0 markdown/use_cases/include/include_code_block/use_case_template.md
markdown_helper-2.4.0 markdown/use_cases/include/include_code_block/use_case_template.md
markdown_helper-2.3.0 markdown/use_cases/include_files/include_code_block/use_case_template.md
markdown_helper-2.2.0 markdown/use_cases/include_files/include_code_block/use_case_template.md
markdown_helper-2.1.0 markdown/use_cases/include_files/include_code_block/use_case_template.md
markdown_helper-2.0.0 markdown/use_cases/include_files/include_code_block/use_case_template.md
markdown_helper-1.9.9 markdown/use_cases/include_files/include_code_block/use_case_template.md
markdown_helper-1.9.5 markdown/use_cases/include_files/include_code_block/use_case_template.md