diff --git a/content/_index.md b/content/_index.md index 55f68d2..e7cb78a 100644 --- a/content/_index.md +++ b/content/_index.md @@ -9,7 +9,7 @@ Welcome to **Infusion**: a pattern library builder for inclusive designers. Thes * Built with Hugo, so easy to structure content and fast to compile it * Available to read offline, thanks to service worker integration * Include live code demos easily, using either CodePen embeds or via inline demo sections (that use Shadow DOM) -* Quickly include WCAG and Inclusive Design Principles references by key +* Quickly include WCAG and Inclusive Design Principles references * Easily make sections collapsible without writing HTML * Choose between plain or line-numbered code blocks * A responsive, screen reader and keyboard accessible static website as output diff --git a/content/patterns/coding/command-line.md b/content/patterns/coding/command-line.md new file mode 100644 index 0000000..566b729 --- /dev/null +++ b/content/patterns/coding/command-line.md @@ -0,0 +1,23 @@ ++++ +title = "Command line" ++++ + +Your pattern documentation may need to include commands for installing packages or using CLIs. **Infusion** offers the `cmd` shortcode for making code blocks look like terminal commands. + +Here's how you write it: + +{{}} +{{<cmd>}} +npm run start +{{</cmd>}} +{{}} + +And here's how it looks: + +{{}} +npm run start +{{}} + +{{% warning %}} +The `cmd` shortcode currently only supports single commands. If you want to show multiple, successive commands use separate `cmd` blocks. +{{% /warning %}} diff --git a/content/patterns/library-setup.md b/content/patterns/library-setup.md index f0bdebd..c81fcfd 100644 --- a/content/patterns/library-setup.md +++ b/content/patterns/library-setup.md @@ -12,7 +12,9 @@ Before you can start documenting patterns, there are a few things still to do in If you are contributing to an existing **Infusion** library, do not run the following command. It will delete all of the patterns in that library. The `clean` command is just for libraries that you are starting from scratch. {{% /warning %}} -{{}}npm run clean{{}} +{{}} + npm run clean +{{}} This will leave your `content` folder with just an `_index.md` file and a `patterns` folder containing a single demonstration pattern file. Find out more about these in {{% pattern "Library structure" %}}. diff --git a/docs/css/styles.css b/docs/css/styles.css index 5bba1f6..b4ba9a4 100644 --- a/docs/css/styles.css +++ b/docs/css/styles.css @@ -73,6 +73,12 @@ a { border-bottom: 1px solid; } +abbr { + text-decoration: none; + cursor: help; + border-bottom: 1px dashed; +} + img { max-width: 100%; } @@ -189,6 +195,7 @@ code { height: 1.25em; background: #fff; margin-left: 0.25em; + vertical-align: -0.125rem; } /* Lists */ diff --git a/docs/index.html b/docs/index.html index aaa88f6..24c977d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -238,6 +238,13 @@ +
  • + + + Command line + +
  • +
  • @@ -265,7 +272,7 @@
  • Built with Hugo, so easy to structure content and fast to compile it
  • Available to read offline, thanks to service worker integration
  • Include live code demos easily, using either CodePen embeds or via inline demo sections (that use Shadow DOM)
  • -
  • Quickly include WCAG and Inclusive Design Principles references by key
  • +
  • Quickly include WCAG and Inclusive Design Principles references
  • Easily make sections collapsible without writing HTML
  • Choose between plain or line-numbered code blocks
  • A responsive, screen reader and keyboard accessible static website as output
  • diff --git a/docs/index.xml b/docs/index.xml index 24cb740..0aa7e10 100644 --- a/docs/index.xml +++ b/docs/index.xml @@ -85,6 +85,19 @@ The expandable shortcode takes three parameters: &#x7b;{% colors "#111111, #cccccc, #ffffff" %}} The result is a one row strip showing each color supplied in order. The colors for Infusion are greyscale: + + Command line + https://heydon.github.io/infusion/patterns/coding/command-line/ + Mon, 01 Jan 0001 00:00:00 +0000 + + https://heydon.github.io/infusion/patterns/coding/command-line/ + Your pattern documentation may need to include commands for installing packages or using CLIs. Infusion offers the cmd shortcode for making code blocks look like terminal commands. +Here&rsquo;s how you write it: +&#x7b;{&lt;cmd}} npm run start &#x7b;{&lt;/cmd}} And here&rsquo;s how it looks: +npm run start The cmd shortcode currently only supports single commands. If you want to show multiple, successive commands use separate cmd blocks. + + + Including images https://heydon.github.io/infusion/patterns/media/including-images/ diff --git a/docs/patterns/coding/code-blocks/index.html b/docs/patterns/coding/code-blocks/index.html index a4aeaf5..356adaf 100644 --- a/docs/patterns/coding/code-blocks/index.html +++ b/docs/patterns/coding/code-blocks/index.html @@ -239,6 +239,13 @@
    +
  • + + + Command line + +
  • +
  • diff --git a/docs/patterns/coding/codepen-embedding/index.html b/docs/patterns/coding/codepen-embedding/index.html index 7208444..965184c 100644 --- a/docs/patterns/coding/codepen-embedding/index.html +++ b/docs/patterns/coding/codepen-embedding/index.html @@ -239,6 +239,13 @@
  • +
  • + + + Command line + +
  • +
  • diff --git a/docs/patterns/coding/color-palettes/index.html b/docs/patterns/coding/color-palettes/index.html index ca703cf..888ecc6 100644 --- a/docs/patterns/coding/color-palettes/index.html +++ b/docs/patterns/coding/color-palettes/index.html @@ -239,6 +239,13 @@
  • +
  • + + + Command line + +
  • +
  • diff --git a/docs/patterns/coding/command-line/index.html b/docs/patterns/coding/command-line/index.html new file mode 100644 index 0000000..3be1391 --- /dev/null +++ b/docs/patterns/coding/command-line/index.html @@ -0,0 +1,317 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Command line | Infusion + + + + + skip to content + + + + + + + + + W3C + SVG + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    + + + + + + + diff --git a/docs/patterns/coding/index.html b/docs/patterns/coding/index.html index 776276c..0d81298 100644 --- a/docs/patterns/coding/index.html +++ b/docs/patterns/coding/index.html @@ -239,6 +239,13 @@
  • +
  • + + + Command line + +
  • +
  • @@ -303,6 +310,16 @@
  • +
  • +

    + + + Command line + +

    +
  • + +
  • diff --git a/docs/patterns/coding/index.xml b/docs/patterns/coding/index.xml index ec1de72..eb99e46 100644 --- a/docs/patterns/coding/index.xml +++ b/docs/patterns/coding/index.xml @@ -53,6 +53,19 @@ Infusion offers another option: a special demo shortcode that allows you to writ &#x7b;{% colors "#111111, #cccccc, #ffffff" %}} The result is a one row strip showing each color supplied in order. The colors for Infusion are greyscale: + + Command line + https://heydon.github.io/infusion/patterns/coding/command-line/ + Mon, 01 Jan 0001 00:00:00 +0000 + + https://heydon.github.io/infusion/patterns/coding/command-line/ + Your pattern documentation may need to include commands for installing packages or using CLIs. Infusion offers the cmd shortcode for making code blocks look like terminal commands. +Here&rsquo;s how you write it: +&#x7b;{&lt;cmd}} npm run start &#x7b;{&lt;/cmd}} And here&rsquo;s how it looks: +npm run start The cmd shortcode currently only supports single commands. If you want to show multiple, successive commands use separate cmd blocks. + + + Tested using... https://heydon.github.io/infusion/patterns/coding/tested/ diff --git a/docs/patterns/coding/tested/index.html b/docs/patterns/coding/tested/index.html index 902ae4c..951949e 100644 --- a/docs/patterns/coding/tested/index.html +++ b/docs/patterns/coding/tested/index.html @@ -239,6 +239,13 @@

  • +
  • + + + Command line + +
  • +
  • diff --git a/docs/patterns/coding/writing-inline-demos/index.html b/docs/patterns/coding/writing-inline-demos/index.html index eea0bc9..83fe4d0 100644 --- a/docs/patterns/coding/writing-inline-demos/index.html +++ b/docs/patterns/coding/writing-inline-demos/index.html @@ -239,6 +239,13 @@
  • +
  • + + + Command line + +
  • +
  • diff --git a/docs/patterns/index.html b/docs/patterns/index.html index d2349e5..189a441 100644 --- a/docs/patterns/index.html +++ b/docs/patterns/index.html @@ -239,6 +239,13 @@
  • +
  • + + + Command line + +
  • +
  • diff --git a/docs/patterns/installation/index.html b/docs/patterns/installation/index.html index a32b295..566b6fd 100644 --- a/docs/patterns/installation/index.html +++ b/docs/patterns/installation/index.html @@ -239,6 +239,13 @@
  • +
  • + + + Command line + +
  • +
  • diff --git a/docs/patterns/library-setup/index.html b/docs/patterns/library-setup/index.html index 58f1e3c..149be3e 100644 --- a/docs/patterns/library-setup/index.html +++ b/docs/patterns/library-setup/index.html @@ -239,6 +239,13 @@
  • +
  • + + + Command line + +
  • +
  • @@ -315,7 +322,7 @@ -
    npm run clean
    +
      npm run clean

    This will leave your content folder with just an _index.md file and a patterns folder containing a single demonstration pattern file. Find out more about these in Library structure.

    diff --git a/docs/patterns/media/including-images/index.html b/docs/patterns/media/including-images/index.html index edf1ca9..5732614 100644 --- a/docs/patterns/media/including-images/index.html +++ b/docs/patterns/media/including-images/index.html @@ -239,6 +239,13 @@
  • +
  • + + + Command line + +
  • +
  • diff --git a/docs/patterns/media/including-videos/index.html b/docs/patterns/media/including-videos/index.html index d743d7a..cfac52a 100644 --- a/docs/patterns/media/including-videos/index.html +++ b/docs/patterns/media/including-videos/index.html @@ -239,6 +239,13 @@
  • +
  • + + + Command line + +
  • +
  • diff --git a/docs/patterns/media/index.html b/docs/patterns/media/index.html index 816117a..3f2ce0e 100644 --- a/docs/patterns/media/index.html +++ b/docs/patterns/media/index.html @@ -239,6 +239,13 @@
  • +
  • + + + Command line + +
  • +
  • diff --git a/docs/patterns/serving/index.html b/docs/patterns/serving/index.html index 54b1864..1f09b34 100644 --- a/docs/patterns/serving/index.html +++ b/docs/patterns/serving/index.html @@ -239,6 +239,13 @@
  • +
  • + + + Command line + +
  • +
  • diff --git a/docs/patterns/writing/expandable-sections/index.html b/docs/patterns/writing/expandable-sections/index.html index c383da3..905f78c 100644 --- a/docs/patterns/writing/expandable-sections/index.html +++ b/docs/patterns/writing/expandable-sections/index.html @@ -239,6 +239,13 @@
  • +
  • + + + Command line + +
  • +
  • diff --git a/docs/patterns/writing/index.html b/docs/patterns/writing/index.html index e317f54..d0fb508 100644 --- a/docs/patterns/writing/index.html +++ b/docs/patterns/writing/index.html @@ -239,6 +239,13 @@
  • +
  • + + + Command line + +
  • +
  • diff --git a/docs/patterns/writing/library-structure/index.html b/docs/patterns/writing/library-structure/index.html index 5b2bebf..005c12d 100644 --- a/docs/patterns/writing/library-structure/index.html +++ b/docs/patterns/writing/library-structure/index.html @@ -239,6 +239,13 @@
  • +
  • + + + Command line + +
  • +
  • diff --git a/docs/patterns/writing/markdown-and-metadata/index.html b/docs/patterns/writing/markdown-and-metadata/index.html index 113c0a2..a78f719 100644 --- a/docs/patterns/writing/markdown-and-metadata/index.html +++ b/docs/patterns/writing/markdown-and-metadata/index.html @@ -239,6 +239,13 @@
  • +
  • + + + Command line + +
  • +
  • diff --git a/docs/patterns/writing/notes-and-warnings/index.html b/docs/patterns/writing/notes-and-warnings/index.html index 616d5f0..0ceb2a1 100644 --- a/docs/patterns/writing/notes-and-warnings/index.html +++ b/docs/patterns/writing/notes-and-warnings/index.html @@ -239,6 +239,13 @@
  • +
  • + + + Command line + +
  • +
  • diff --git a/docs/patterns/writing/references/index.html b/docs/patterns/writing/references/index.html index cd0828b..fc237df 100644 --- a/docs/patterns/writing/references/index.html +++ b/docs/patterns/writing/references/index.html @@ -239,6 +239,13 @@
  • +
  • + + + Command line + +
  • +
  • diff --git a/docs/patterns/writing/tables-of-contents/index.html b/docs/patterns/writing/tables-of-contents/index.html index 5249daf..8c86022 100644 --- a/docs/patterns/writing/tables-of-contents/index.html +++ b/docs/patterns/writing/tables-of-contents/index.html @@ -239,6 +239,13 @@
  • +
  • + + + Command line + +
  • +
  • diff --git a/docs/service-worker.js b/docs/service-worker.js index 2a36c22..16934b3 100644 --- a/docs/service-worker.js +++ b/docs/service-worker.js @@ -37,7 +37,7 @@ /* eslint-disable indent, no-unused-vars, no-multiple-empty-lines, max-nested-callbacks, space-before-function-paren, quotes, comma-spacing */ 'use strict'; -var precacheConfig = [["browserconfig.xml","67c3113b1574fecc6015d56d774e1d38"],["categories/index.xml","0ac1d02cfbcad2fcc8c13b2c54715338"],["css/fonts/miriamlibre-bold.woff","96496f6f06535d25b3bcba876917ca35"],["css/fonts/miriamlibre-bold.woff2","668defa44d9a74dd709ce0c826a5eb11"],["css/fonts/pt_sans-web-bold.woff","f83c22b548d2d684e24e315d81f7d22b"],["css/fonts/pt_sans-web-bold.woff2","84520c22e6ebf1b30b6f17251d65fff7"],["css/fonts/pt_sans-web-italic.woff","31f09f09a1d3fbe6c8de19644ef0e614"],["css/fonts/pt_sans-web-italic.woff2","df128e1d5a449fc0506fc1b48aac0184"],["css/fonts/pt_sans-web-regular.woff","32100f6ebf01af64d4a71416561c072d"],["css/fonts/pt_sans-web-regular.woff2","b6d4ede9a3a5dbe4d5ac242ae4b0ecc2"],["css/images/icon-tick.svg","35d4d4728ea80d254508b2bca4109d70"],["css/images/stripe.svg","fa3f32a026b6a1bb04ee98d963432e15"],["css/prism.css","004029c8c70ed2bbaa5d9debcf14f8c7"],["css/styles.css","e57f2b72a91e67ab2a5581fbcf72a7d0"],["images/android-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/android-icon-192x192.png","4c07782e52e0ab714074e6d3d69dc3ec"],["images/android-icon-36x36.png","3b2cd8c925a66bf84c89b68bb30e5f62"],["images/android-icon-48x48.png","45dc386eea1d8a46216a8b6de9b156c6"],["images/android-icon-72x72.png","b04c64637efed2b04fa900ddfcbfe75d"],["images/android-icon-96x96.png","bd9c126a4d6baf7ce442122ce0e89e11"],["images/apple-icon-114x114.png","72e127d6f01dfcd2ba2340141babc536"],["images/apple-icon-120x120.png","bc7cd9e36869e66aaca78412207bf723"],["images/apple-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/apple-icon-152x152.png","567c64205576865b5e5d06c849613ca2"],["images/apple-icon-180x180.png","6b8734c446bf02ab50be598b4c01ec9c"],["images/apple-icon-57x57.png","f8c586086752c78870820b6190d6b42b"],["images/apple-icon-60x60.png","6e88df111e506bcd5501bed4ff10542e"],["images/apple-icon-72x72.png","b04c64637efed2b04fa900ddfcbfe75d"],["images/apple-icon-76x76.png","d8666e0ac256f39f8c5c628486bd71fb"],["images/apple-icon-precomposed.png","725f6cec25256abb1db10385e0724400"],["images/apple-icon.png","725f6cec25256abb1db10385e0724400"],["images/browser-Chrome-Android.svg","3100b2a9c5f0e34982c717fc2aa46d73"],["images/browser-Chrome.svg","fa39b4be6727525330e928f582fbe80a"],["images/browser-Edge.svg","9e8265ab8f6a701587a4271dd3aa6a73"],["images/browser-Firefox-Android.svg","452df7b9e83c70a07e8e03b4e8dab9c4"],["images/browser-Firefox.svg","d3093eda664be3d0cc6d791e1386420f"],["images/browser-IE.svg","13e192cf2b3fe17e7049a49b7d085caa"],["images/browser-Opera.svg","95d65630c9f7deef6a3098af8f5baf9f"],["images/browser-Safari-iOS.svg","f729e629ec998ec40d313495d7257741"],["images/browser-Safari.svg","523ee9491f5a937b8975f4d23aa77f62"],["images/favicon-16x16.png","7a99c20d6c00babddd26d03607b8721d"],["images/favicon-32x32.png","129881474a1bf130027bff7a1e89febd"],["images/favicon-96x96.png","bd9c126a4d6baf7ce442122ce0e89e11"],["images/favicon.ico","81c46feedbfcc6c6dc9495e4fd5adfad"],["images/icon-info.svg","53a6c555ce41f818556c71ab0dfc533b"],["images/icon-tag.svg","f067bbbc072941b2a0335679300bfc6c"],["images/icon-warning.svg","2a4322abbee9aed694fadb50e98a1f61"],["images/logo.png","0134d77c2c6b01eabb425990bab7ce9a"],["images/ms-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/ms-icon-150x150.png","e73370837ab9060772a18d62aaacd0f0"],["images/ms-icon-310x310.png","8a7143516b929702e3309bb537a99c5c"],["images/ms-icon-70x70.png","d7c6e7368733d53b5f979546d5aa4fe9"],["images/open_in_desktop.png","e899d6679b011aa7b0e783683d90d99b"],["images/serve_from_docs.png","15ae9eac3737a21593ebe00a9312bf9e"],["images/steve_faulkner.jpg","b90382f2b505ce6f6b1e08657637395e"],["index.html","a6771fb85bbe60f2912faef317cc9636"],["index.xml","28f2540e972c035cb70bef8b4e7a9ce1"],["js/dom-scripts.js","9956fb927a1097a05d07f48cdfbb9140"],["js/prism.js","0c1fb8d3a69ee7c91dbf0f361ded7763"],["js/service-worker-registration.js","d60f01dc1393cbaaf4f7435339074d5e"],["js/webcomponents.js","c5f6fe397db634cde89f66c2f1bc2f62"],["manifest.json","4e77b7f1253442852a2f185822f1b4d8"],["patterns/coding/code-blocks/index.html","ba8574de1814df1633ce093c0f448fe7"],["patterns/coding/codepen-embedding/index.html","7f9e6c1b6227b9ab3eae9ec33424a2b0"],["patterns/coding/color-palettes/index.html","7ae21a206ad5d8deeee9d77a57bae4c9"],["patterns/coding/index.html","0f7888ba74ad3012f450baa7b75e5486"],["patterns/coding/index.xml","e05792f5d471e69af658fcfe0d949e05"],["patterns/coding/tested/index.html","fc75ec2965ba554d1cd5ff7ecc924bbf"],["patterns/coding/writing-inline-demos/index.html","b3cc17bfcdf243e058dc8c5ce4f2f9e1"],["patterns/index.html","d8a7d1531fdc33125ddb73dba0607548"],["patterns/index.xml","dc1e5b6741587e830722d77a7f88d22f"],["patterns/installation/index.html","f955032ee962883a212a4c181221bdaf"],["patterns/library-setup/index.html","a66baa28ece291d5542687f837f73b02"],["patterns/media/including-images/index.html","a2c819e409c2a0c770ce240210c0990c"],["patterns/media/including-videos/index.html","eeb0ba3943cbb019217acb04e3c92181"],["patterns/media/index.html","7dbd872072b3221e50ed1baa8ac347b1"],["patterns/media/index.xml","4a9c518cde77c958c19472b4f6980fd6"],["patterns/serving/index.html","448f1a59990139bf8e5e61c8138aa8ea"],["patterns/writing/expandable-sections/index.html","7215479bfdab51fe44117d9538f40d6b"],["patterns/writing/index.html","e8acf1d72503cbebfee47cf2ec9ab10d"],["patterns/writing/index.xml","c481c10923ab6ae8b182091cdef989cd"],["patterns/writing/library-structure/index.html","ce6adc5ce47902af42e32b6be5239edb"],["patterns/writing/markdown-and-metadata/index.html","53a85095e412b62cf19f028d8be445ae"],["patterns/writing/notes-and-warnings/index.html","1d14e46563376bd1c86ba3ae4ad26ea1"],["patterns/writing/references/index.html","1e8a9fc79f83c17944f7eb543b9eeb46"],["patterns/writing/tables-of-contents/index.html","679b56897f32752fbd0490b9aeff9a0e"],["sitemap.xml","85e08796b1c8c18551a4c2ac407eff66"],["tags/index.xml","c49e6e2b318d5ee86534194441e4dc1e"]]; +var precacheConfig = [["browserconfig.xml","67c3113b1574fecc6015d56d774e1d38"],["categories/index.xml","0ac1d02cfbcad2fcc8c13b2c54715338"],["css/fonts/miriamlibre-bold.woff","96496f6f06535d25b3bcba876917ca35"],["css/fonts/miriamlibre-bold.woff2","668defa44d9a74dd709ce0c826a5eb11"],["css/fonts/pt_sans-web-bold.woff","f83c22b548d2d684e24e315d81f7d22b"],["css/fonts/pt_sans-web-bold.woff2","84520c22e6ebf1b30b6f17251d65fff7"],["css/fonts/pt_sans-web-italic.woff","31f09f09a1d3fbe6c8de19644ef0e614"],["css/fonts/pt_sans-web-italic.woff2","df128e1d5a449fc0506fc1b48aac0184"],["css/fonts/pt_sans-web-regular.woff","32100f6ebf01af64d4a71416561c072d"],["css/fonts/pt_sans-web-regular.woff2","b6d4ede9a3a5dbe4d5ac242ae4b0ecc2"],["css/images/icon-tick.svg","35d4d4728ea80d254508b2bca4109d70"],["css/images/stripe.svg","fa3f32a026b6a1bb04ee98d963432e15"],["css/prism.css","004029c8c70ed2bbaa5d9debcf14f8c7"],["css/styles.css","a87f82368c5ccd1acea67359a97f62ba"],["images/android-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/android-icon-192x192.png","4c07782e52e0ab714074e6d3d69dc3ec"],["images/android-icon-36x36.png","3b2cd8c925a66bf84c89b68bb30e5f62"],["images/android-icon-48x48.png","45dc386eea1d8a46216a8b6de9b156c6"],["images/android-icon-72x72.png","b04c64637efed2b04fa900ddfcbfe75d"],["images/android-icon-96x96.png","bd9c126a4d6baf7ce442122ce0e89e11"],["images/apple-icon-114x114.png","72e127d6f01dfcd2ba2340141babc536"],["images/apple-icon-120x120.png","bc7cd9e36869e66aaca78412207bf723"],["images/apple-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/apple-icon-152x152.png","567c64205576865b5e5d06c849613ca2"],["images/apple-icon-180x180.png","6b8734c446bf02ab50be598b4c01ec9c"],["images/apple-icon-57x57.png","f8c586086752c78870820b6190d6b42b"],["images/apple-icon-60x60.png","6e88df111e506bcd5501bed4ff10542e"],["images/apple-icon-72x72.png","b04c64637efed2b04fa900ddfcbfe75d"],["images/apple-icon-76x76.png","d8666e0ac256f39f8c5c628486bd71fb"],["images/apple-icon-precomposed.png","725f6cec25256abb1db10385e0724400"],["images/apple-icon.png","725f6cec25256abb1db10385e0724400"],["images/browser-Chrome-Android.svg","3100b2a9c5f0e34982c717fc2aa46d73"],["images/browser-Chrome.svg","fa39b4be6727525330e928f582fbe80a"],["images/browser-Edge.svg","9e8265ab8f6a701587a4271dd3aa6a73"],["images/browser-Firefox-Android.svg","452df7b9e83c70a07e8e03b4e8dab9c4"],["images/browser-Firefox.svg","d3093eda664be3d0cc6d791e1386420f"],["images/browser-IE.svg","13e192cf2b3fe17e7049a49b7d085caa"],["images/browser-Opera.svg","95d65630c9f7deef6a3098af8f5baf9f"],["images/browser-Safari-iOS.svg","f729e629ec998ec40d313495d7257741"],["images/browser-Safari.svg","523ee9491f5a937b8975f4d23aa77f62"],["images/favicon-16x16.png","7a99c20d6c00babddd26d03607b8721d"],["images/favicon-32x32.png","129881474a1bf130027bff7a1e89febd"],["images/favicon-96x96.png","bd9c126a4d6baf7ce442122ce0e89e11"],["images/favicon.ico","81c46feedbfcc6c6dc9495e4fd5adfad"],["images/icon-info.svg","53a6c555ce41f818556c71ab0dfc533b"],["images/icon-tag.svg","f067bbbc072941b2a0335679300bfc6c"],["images/icon-warning.svg","2a4322abbee9aed694fadb50e98a1f61"],["images/logo.png","0134d77c2c6b01eabb425990bab7ce9a"],["images/ms-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/ms-icon-150x150.png","e73370837ab9060772a18d62aaacd0f0"],["images/ms-icon-310x310.png","8a7143516b929702e3309bb537a99c5c"],["images/ms-icon-70x70.png","d7c6e7368733d53b5f979546d5aa4fe9"],["images/open_in_desktop.png","e899d6679b011aa7b0e783683d90d99b"],["images/serve_from_docs.png","15ae9eac3737a21593ebe00a9312bf9e"],["images/steve_faulkner.jpg","b90382f2b505ce6f6b1e08657637395e"],["index.html","d958d5b976113930058663b5f1132a51"],["index.xml","f380cffd07694d953e979e81d12e39ee"],["js/dom-scripts.js","9956fb927a1097a05d07f48cdfbb9140"],["js/prism.js","0c1fb8d3a69ee7c91dbf0f361ded7763"],["js/service-worker-registration.js","d60f01dc1393cbaaf4f7435339074d5e"],["js/webcomponents.js","c5f6fe397db634cde89f66c2f1bc2f62"],["manifest.json","4e77b7f1253442852a2f185822f1b4d8"],["patterns/coding/code-blocks/index.html","52610a7a35e62d20774155393ced47c1"],["patterns/coding/codepen-embedding/index.html","cdb502d6fee5ac023f7ffc9ec27f1b30"],["patterns/coding/color-palettes/index.html","f73353602b20af837767433cf33aa520"],["patterns/coding/command-line/index.html","cfc5eb120575b871c0ee4f203c95170b"],["patterns/coding/index.html","d986aee759d36c8fc84594143c482a08"],["patterns/coding/index.xml","7af4e74ec435d9e9b04e4db6ab40d7ed"],["patterns/coding/tested/index.html","ab29fc43a8f6359380673b08f3147aa6"],["patterns/coding/writing-inline-demos/index.html","bcfdcae8adcf076cd9c4b32ea71f581d"],["patterns/index.html","673feb6f48ea30ce7cfc01273b350568"],["patterns/index.xml","dc1e5b6741587e830722d77a7f88d22f"],["patterns/installation/index.html","4b6046360d2b3e22363895ce6bbbfbf2"],["patterns/library-setup/index.html","b47b3718d30991c2d754b0f63f435df9"],["patterns/media/including-images/index.html","af9e89dace80f8c1dab678a5c6b1ad06"],["patterns/media/including-videos/index.html","a3e1c3d3ccf93976628c7a154a53fa61"],["patterns/media/index.html","1614f3582b181b36d5bcd28fcac30c04"],["patterns/media/index.xml","4a9c518cde77c958c19472b4f6980fd6"],["patterns/serving/index.html","54195d5218101fc1f137e3cac1205415"],["patterns/writing/expandable-sections/index.html","6a14243ad294afac0cd746c48a99e0b7"],["patterns/writing/index.html","14eb6b7076d357e15b0a0099efe4984f"],["patterns/writing/index.xml","c481c10923ab6ae8b182091cdef989cd"],["patterns/writing/library-structure/index.html","e926dfb395e238c544947ea516da1ac8"],["patterns/writing/markdown-and-metadata/index.html","e43732430b0cac178f71363040e9e395"],["patterns/writing/notes-and-warnings/index.html","852c70071d695914c3085e05eefa6000"],["patterns/writing/references/index.html","468c1bc49ac65f3925c134e2110dd0dd"],["patterns/writing/tables-of-contents/index.html","7d973475ed4647b2b78699b0582076a5"],["sitemap.xml","de83f02a1aacc89b585fcc3a98d8300e"],["tags/index.xml","c49e6e2b318d5ee86534194441e4dc1e"]]; var cacheName = 'sw-precache-v3-sw-precache-' + (self.registration ? self.registration.scope : ''); diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 1a59428..6246f9f 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -52,6 +52,10 @@ https://heydon.github.io/infusion/patterns/coding/color-palettes/ + + https://heydon.github.io/infusion/patterns/coding/command-line/ + + https://heydon.github.io/infusion/patterns/media/including-images/ diff --git a/themes/infusion/layouts/shortcodes/cmd.html b/themes/infusion/layouts/shortcodes/cmd.html index b92ce12..cd21bc1 100644 --- a/themes/infusion/layouts/shortcodes/cmd.html +++ b/themes/infusion/layouts/shortcodes/cmd.html @@ -1 +1 @@ -
    {{ .Inner }}
    +
    {{ trim .Inner "\n" }}
    diff --git a/themes/infusion/static/css/styles.css b/themes/infusion/static/css/styles.css index 5bba1f6..b4ba9a4 100644 --- a/themes/infusion/static/css/styles.css +++ b/themes/infusion/static/css/styles.css @@ -73,6 +73,12 @@ a { border-bottom: 1px solid; } +abbr { + text-decoration: none; + cursor: help; + border-bottom: 1px dashed; +} + img { max-width: 100%; } @@ -189,6 +195,7 @@ code { height: 1.25em; background: #fff; margin-left: 0.25em; + vertical-align: -0.125rem; } /* Lists */