diff --git a/package.json b/package.json index 5c61224..0266a32 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "description": "An inclusive pattern library builder for documenting inclusive interface design", "main": "index.js", "scripts": { + "getURL": "git remote -v | sed -n '/push/p' | awk '{print $2}' | sed 's/.*:\\(.*\\).git/\\1/' | awk -F\"/\" '{print $1\".github.io/\"$2}'", "test": "echo \"Error: no test specified\" && exit 1", "serve": "hugo server", "clean": "rm -rf content && mkdir content && mkdir content/patterns && hugo new patterns/pattern.md && hugo new _index.md", diff --git a/public/patterns/writing/expandable-sections/index.html b/public/patterns/writing/expandable-sections/index.html index a64bb29..45c6226 100644 --- a/public/patterns/writing/expandable-sections/index.html +++ b/public/patterns/writing/expandable-sections/index.html @@ -273,6 +273,13 @@ Here is some markdown including [a link](https://twitter.com/heydonworks). Donec

Unfortunately, it is not currently possible to include shortcodes inside other shortcodes, using the “%” notation (which is designated for markdown content). If you use the angle brackets notation (illustrated below) it is possible, but markdown will no longer be permitted. You will have to code HTML inside such a section manually.

+

+{{<expandable label="A section of dummy text" level="2">}}
+<p>Here is a pattern reference shortcode: {{% pattern "Writing inline demos" %}}.</p>
+{{</expandable>}}
+
+ +