From bc9a649195492e3ffee909fd1e4a4bdebe66e42a Mon Sep 17 00:00:00 2001 From: Ryan Watters Date: Sun, 30 Apr 2017 16:45:57 -0500 Subject: [PATCH] Clean up code block for ids and classes (Second round) Also fix issue with needsexamples.html shortcode. --- content/content-management/shortcodes.md | 4 ++-- content/content-management/summaries.md | 6 +++-- content/content-management/toc.md | 20 +++++++++-------- content/contribute/documentation.md | 22 +++++++++---------- .../layouts/partials/style-embed.html | 2 +- .../layouts/shortcodes/needsexamples.html | 2 +- .../pipeline/scss/components/_lists.scss | 4 ++-- .../static/css/style.min.css | 2 +- 8 files changed, 33 insertions(+), 29 deletions(-) diff --git a/content/content-management/shortcodes.md b/content/content-management/shortcodes.md index 442d21ba0..b1f193520 100644 --- a/content/content-management/shortcodes.md +++ b/content/content-management/shortcodes.md @@ -148,7 +148,7 @@ To demonstrate the remarkably efficiency of Hugo's shortcode feature, we have em ### `highlight` -This shortcode will convert the source code provided into syntax-highlighted HTML. Read more on [highlighting](/tools/syntax-highlighting/). `highlight` takes exactly one required parameter of _language_ and requires a closing shortcode. +This shortcode will convert the source code provided into syntax-highlighted HTML. Read more on [highlighting](/tools/syntax-highlighting/). `highlight` takes exactly one required `language` parameter and requires a closing shortcode. #### Example `highlight` Input @@ -185,7 +185,7 @@ The `highlight` shortcode example above would produce the following HTML when th {{% /output %}} {{% note "More on Syntax Highlighting" %}} -To see even more options for adding syntax-highlighted code blocks to your website, see [Syntax Highlighting](/tools/syntax-highlighting/) in Developer Tools. +To see even more options for adding syntax-highlighted code blocks to your website, see [Syntax Highlighting in Developer Tools](/tools/syntax-highlighting/). {{% /note %}} ### `instagram` diff --git a/content/content-management/summaries.md b/content/content-management/summaries.md index 333f5f5b0..a39f4b845 100644 --- a/content/content-management/summaries.md +++ b/content/content-management/summaries.md @@ -62,12 +62,14 @@ You can show content summaries with the following code. You could use the follow ```html {{ range first 10 .Data.Pages }}
-
+ +

{{ .Title }}

{{ .Summary }}
{{ if .Truncated }} -