cupper-hugo-theme/docs/patterns/coding/index.xml

92 lines
6.6 KiB
XML
Raw Normal View History

2017-07-03 13:43:14 +02:00
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
2017-07-04 12:17:09 +02:00
<title>Coding on Infusion</title>
2017-08-07 23:20:49 +02:00
<link>https://thepaciellogroup.github.io/infusion/patterns/coding/</link>
2017-07-04 12:17:09 +02:00
<description>Recent content in Coding on Infusion</description>
2017-07-03 13:43:14 +02:00
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
2017-08-07 23:20:49 +02:00
<atom:link href="https://thepaciellogroup.github.io/infusion/patterns/coding/index.xml" rel="self" type="application/rss+xml" />
2017-07-03 13:43:14 +02:00
<item>
<title>Code blocks</title>
2017-08-07 23:20:49 +02:00
<link>https://thepaciellogroup.github.io/infusion/patterns/coding/code-blocks/</link>
2017-07-03 13:43:14 +02:00
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
2017-08-07 23:20:49 +02:00
<guid>https://thepaciellogroup.github.io/infusion/patterns/coding/code-blocks/</guid>
2017-07-03 13:43:14 +02:00
<description>Markdown already supports code samples both inline (using single backticks like `some code here`) and in blocks. Infusion will syntax highlight HTML, CSS, and JavaScript if you provide the correct language in the formulation of the block.
So, this&amp;hellip;
```html &amp;lt;button aria-pressed=&#34;false&#34;toggle me&amp;lt;/button ``` &amp;hellip; will result in this:
&amp;lt;button aria-pressed=&amp;quot;false&amp;quot;&amp;gt;toggle me&amp;lt;/button&amp;gt; Note that the syntax highlighting uses a greyscale theme. Infusion is careful not to use color as part of its own design, because these colors may clash with those of the design being illustrated and discussed.</description>
</item>
<item>
2017-07-26 16:53:09 +02:00
<title>Demo embedding</title>
2017-08-07 23:20:49 +02:00
<link>https://thepaciellogroup.github.io/infusion/patterns/coding/demo-embedding/</link>
2017-07-03 13:43:14 +02:00
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
2017-08-07 23:20:49 +02:00
<guid>https://thepaciellogroup.github.io/infusion/patterns/coding/demo-embedding/</guid>
2017-07-03 13:43:14 +02:00
<description>Sometimes just pictures of the pattern you&amp;rsquo;re documenting aren&amp;rsquo;t enough. Interactive patterns benefit from live demos, so that readers can test their functionality.
2017-07-26 16:53:09 +02:00
CodePen Infusion offers a couple of ways to do this. The first is by embedding CodePen demos into the content. The codePen shortcode takes just one argument: the codePen&amp;rsquo;s ID.
2017-07-03 13:43:14 +02:00
&amp;#x7b;{% codePen VpVNKW %}} This will embed the identified codePen into the content wherever you placed the shortcode, with the result view showing by default:</description>
</item>
<item>
2017-07-04 12:17:09 +02:00
<title>Writing inline demos</title>
2017-08-07 23:20:49 +02:00
<link>https://thepaciellogroup.github.io/infusion/patterns/coding/writing-inline-demos/</link>
2017-07-03 13:43:14 +02:00
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
2017-08-07 23:20:49 +02:00
<guid>https://thepaciellogroup.github.io/infusion/patterns/coding/writing-inline-demos/</guid>
2017-07-26 16:53:09 +02:00
<description>There are some issues with , like them not working offline. They also come with CodePen branding, which will clash with the pattern you&amp;rsquo;re trying to illustrate.
2017-07-04 12:17:09 +02:00
Infusion offers another option: a special demo shortcode that allows you to write HTML, CSS, and JavaScript directly into the markdown file. The outputted demo is encapsulated using Shadow DOM, so you don&amp;rsquo;t have to worry about broken styles and global JS.</description>
2017-07-03 13:43:14 +02:00
</item>
<item>
2017-07-04 12:17:09 +02:00
<title>Color palettes</title>
2017-08-07 23:20:49 +02:00
<link>https://thepaciellogroup.github.io/infusion/patterns/coding/color-palettes/</link>
2017-07-03 13:43:14 +02:00
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
2017-08-07 23:20:49 +02:00
<guid>https://thepaciellogroup.github.io/infusion/patterns/coding/color-palettes/</guid>
2017-07-04 12:17:09 +02:00
<description>There&amp;rsquo;s no reason why your Infusion-powered pattern library has to be all about functionality. You can include style guide-like information such as color palettes too. The colors shortcode makes it easy to exhibit colors and their values together. Just supply a comma-separated list of CSS color values.
&amp;#x7b;{% colors &#34;#111111, #cccccc, #ffffff&#34; %}} The result is a one row strip showing each color supplied in order. The colors for Infusion are greyscale:</description>
2017-07-03 13:43:14 +02:00
</item>
2017-07-15 10:28:17 +02:00
<item>
<title>Command line</title>
2017-08-07 23:20:49 +02:00
<link>https://thepaciellogroup.github.io/infusion/patterns/coding/command-line/</link>
2017-07-15 10:28:17 +02:00
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
2017-08-07 23:20:49 +02:00
<guid>https://thepaciellogroup.github.io/infusion/patterns/coding/command-line/</guid>
2017-07-15 10:28:17 +02:00
<description>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&amp;rsquo;s how you write it:
&amp;#x7b;{&amp;lt;cmd}} npm run start &amp;#x7b;{&amp;lt;/cmd}} And here&amp;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.
</description>
</item>
2017-07-16 17:49:20 +02:00
<item>
<title>File trees</title>
2017-08-07 23:20:49 +02:00
<link>https://thepaciellogroup.github.io/infusion/patterns/coding/file-trees/</link>
2017-07-16 17:49:20 +02:00
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
2017-08-07 23:20:49 +02:00
<guid>https://thepaciellogroup.github.io/infusion/patterns/coding/file-trees/</guid>
2017-07-16 17:49:20 +02:00
<description>Representing folder/file structures is simple and accessible in Infusion. Which is just as well, because some components may need to conform to a certain folder structure.
The file tree is described using a markdown nested list structure:
2017-07-17 09:57:57 +02:00
&amp;#x7b;{% fileTree %}} * Level 1 folder * Level 2 file * Level 2 folder * Level 3 file * Level 3 folder * Level 4 file * Level 3 folder * Level 4 file * Level 4 file * Level 3 file * Level 2 folder * Level 3 file * Level 3 file * Level 3 file * Level 2 file * Level 1 file &amp;#x7b;{% /fileTree %}} This is drawn in the following fashion, but preserves the underlying nested list structure for assistive technologies such as screen readers:</description>
2017-07-16 17:49:20 +02:00
</item>
2017-07-08 13:21:43 +02:00
<item>
<title>Tested using...</title>
2017-08-07 23:20:49 +02:00
<link>https://thepaciellogroup.github.io/infusion/patterns/coding/tested/</link>
2017-07-08 13:21:43 +02:00
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
2017-08-07 23:20:49 +02:00
<guid>https://thepaciellogroup.github.io/infusion/patterns/coding/tested/</guid>
2017-07-08 13:21:43 +02:00
<description>When you&amp;rsquo;re an inclusive designer, it&amp;rsquo;s pertinent to do some testing. Following specs is one thing, but you need to verify that your component works okay for users.
2017-08-16 11:30:51 +02:00
Infusion provided a tested shortcode that lets you show which browsers and assistive technologies you&amp;rsquo;ve tried your design out in. Here&amp;rsquo;s an example. Note the commas and &amp;ldquo;+&amp;rdquo; signs.
2017-07-17 17:46:15 +02:00
&amp;#x7b;{% tested using=&#34;Firefox + JAWS, Chrome, Safari iOS + Voiceover, Edge&#34; %}} This outputs:</description>
2017-07-08 13:21:43 +02:00
</item>
2017-07-03 13:43:14 +02:00
</channel>
</rss>