README.md
1# readdirs Directory for Reusable Content
2
3Files in this directory are:
4
51. Used in *more than one place* within the Hugo docs
62. Used in Examples of readdir (i.e. in local file templates)
7
8These files are called using the [`readfile` shortcode (source)](../layouts/readfile.html).
9
10You can call this shortcode in the docs as follows:
11
12
13<code>{</code><code>{</code>% readfile file="/path/to/file.txt" markdown="true" %<code>}</code><code>}</code>
14
15
16`markdown="true"` is optional (default = `"false"`) and parses the string through the Blackfriday renderer.
17