From 90ed513d65701c3cc0be4b8fd49e20949b982d3e Mon Sep 17 00:00:00 2001 From: Denver Prophit Jr Date: Fri, 12 Apr 2019 08:21:37 -0400 Subject: [PATCH 1/2] Update documentation.md Updates issue #183 with proposed changes. --- pages/documentation.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pages/documentation.md b/pages/documentation.md index f4ea0f01360..82e6d5b6048 100644 --- a/pages/documentation.md +++ b/pages/documentation.md @@ -64,9 +64,6 @@ use in front matter via: `layout: video` [Up to table of contents](#toc) {: .text-right } - - - ## Style your content with {#styling} Feeling Responsive offers lots of possibilities to style your articles. You can style your content in different ways. There are elements like subheadlines, feature images, header images, homepage images, meta data like categories and tags and many more. @@ -87,7 +84,13 @@ Quotes mix it up a little bit, if you write long articles. So use quotes: [Up to table of contents](#toc) {: .text-right } +``` html +> Age is an issue of mind over matter. If you don't mind, it doesn't matter. +Mark Twain +[Up to table of contents](#toc) +{: .text-right } +``` ## Comments From a04b833fda20de41ff9d948b85fe96608de77b1e Mon Sep 17 00:00:00 2001 From: Denver Prophit Jr Date: Fri, 12 Apr 2019 08:41:45 -0400 Subject: [PATCH 2/2] update documentation.md issue #183 switch to highlighter syntax --- pages/documentation.md | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/pages/documentation.md b/pages/documentation.md index 82e6d5b6048..0934565b6ea 100644 --- a/pages/documentation.md +++ b/pages/documentation.md @@ -84,13 +84,13 @@ Quotes mix it up a little bit, if you write long articles. So use quotes: [Up to table of contents](#toc) {: .text-right } -``` html + +{% hightlight html %} > Age is an issue of mind over matter. If you don't mind, it doesn't matter. Mark Twain - [Up to table of contents](#toc) {: .text-right } -``` +{% endhighlight %} ## Comments @@ -101,9 +101,6 @@ By default comments are turned off. You can customize the default behaviour in ` [Up to table of contents](#toc) {: .text-right } - - - ## Responsive Videos With foundation responsive videos are easy. [More ›](http://foundation.zurb.com/docs/components/flex_video.html) @@ -155,8 +152,6 @@ image: homepage: header_homepage_13.jpg ~~~ - - ### Captions with URL Sometimes you want to give credit to the creator of your images, maybe with a link. Especially when you use Creative Commons-images like I do for this website. Just add the following front matter and *Feeling Responsive* does the rest: @@ -247,7 +242,6 @@ This include creates a next/previous link to a post of the same category using t {% raw %} {% include next-previous-post-in-category %}{% endraw %} ~~~ - ### improve_content If your content is on Jekyll you can use this include to automatically generate a »Edit on GitHub Link« to give people a possibility to improve your content. Got the idea from [Ben Balters Blog](http://ben.balter.com/). @@ -256,7 +250,6 @@ If your content is on Jekyll you can use this include to automatically generate {% raw %}{% include _improve_content.html %}{% endraw %} ~~~ - ### list-collection This include lets you loop through a collection to list all entries in that collection. If you set »published: false« in front matter of a collection page the page gots filtered out via unless. The following example loops through a collection called *wordpress*. @@ -265,7 +258,6 @@ This include lets you loop through a collection to list all entries in that coll {% raw %}{% include list-collection collection='wordpress' %}{% endraw %} ~~~ - ### alert – Embed an alert in your content This include lets you easily display an alert. To use the include no `.html` ending is necessary. You can use five different kinds of alerts: `warning`, `info`, `success`, `alert` and `text`. @@ -297,7 +289,6 @@ You can even use ``-tags inside the alert. Beware: Use " and ' properly. [Up to table of contents](#toc) {: .text-right } - ## Javascript/Foundation modules *Feeling Responsive* uses the foundation framework and some of its javascript components. I reduced the modules, to decrease page load and make the theme faster.