diff --git a/content/style/shortcodes.md b/content/style/shortcodes.md index a02ae985f94..ae49b13e540 100644 --- a/content/style/shortcodes.md +++ b/content/style/shortcodes.md @@ -304,7 +304,6 @@ produces: puts 'Hello, world!' {{< / highlight >}} - ## `readfile` shortcode The `readfile` shortcode adds text from a file to a page. You can add a Markdown file, HTML file, or code file by specifying the path to the file from the project root directory. diff --git a/content/style/test.md b/content/style/test.md index 1a47472b928..70ccbec9dec 100644 --- a/content/style/test.md +++ b/content/style/test.md @@ -497,12 +497,16 @@ Add code using the readfile shortcode: And code without syntax highlighting: + + ``` describe google_compute_networks(project: 'chef-gcp-inspec') do its('network_names') { should include 'inspec-network' } end ``` + + ### Inline code This is an `inline block of code`.