Sha256: 1b36ba0b1d78a451500537c87b015f86ed5c21937b1a4360e42f27b78a0d7f14

Contents?: true

Size: 540 Bytes

Versions: 10

Compression:

Stored size: 540 Bytes

Contents

### Include Text As Comment

Use file inclusion to include text (or even code) as a comment.

#### 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 ```:comment``` specifies that the included text is to be treated as a comment.

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

#### File with Inclusion

Here's the finished file with the included comment:

@[markdown](included.md)

Version data entries

10 entries across 10 versions & 1 rubygems

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