{"id":222,"date":"2017-11-13T23:09:45","date_gmt":"2017-11-13T23:09:45","guid":{"rendered":"http:\/\/storyist.com\/blog\/?p=222"},"modified":"2017-11-13T23:09:45","modified_gmt":"2017-11-13T23:09:45","slug":"working-with-snippets","status":"publish","type":"post","link":"https:\/\/storyist.com\/blog\/2017\/11\/working-with-snippets\/","title":{"rendered":"Working with Snippets"},"content":{"rendered":"<p>Over the course of a draft, you probably type the same character combinations hundreds if not thousands of times. Why not let Storyist type them for you? Storyist can insert multi-line text snippets (bits of text) with just a few keystrokes.<\/p>\n<p>Try this:<\/p>\n<ol>\n<li>Make sure tab shortcuts are enabled.<\/p>\n<\/li>\n<li>\n<p>Place the cursor at the start of a blank link.<\/p>\n<\/li>\n<li>\n<p>Type &#8220;lorem&#8221; and then press the tab key.<\/p>\n<\/li>\n<\/ol>\n<p>When you press the tab key, Storyist replaces &#8220;lorem&#8221; with<\/p>\n<blockquote><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras non libero vitae tortor ullamcorper pharetra. Suspendisse fringilla consequat augue, nec hendrerit orci tincidunt in. Ut leo nisl, bibendum quis porta sed, porta a leo. Aliquam et ante lorem. Nullam vel lectus tellus, quis luctus mi. Nam non eros sit amet sem ultrices consectetur eu malesuada felis. Mauris rhoncus interdum eros nec aliquam.<\/p><\/blockquote>\n<p>Now try this:<\/p>\n<ol>\n<li>Place the cursor at the start of a blank link.<\/li>\n<li>Type &#8220;na&#8221; and then press the tab key.<\/li>\n<\/ol>\n<p>This time you&#8217;ll see the following:<\/p>\n<p><img data-attachment-id=\"223\" data-permalink=\"https:\/\/storyist.com\/blog\/2017\/11\/working-with-snippets\/snippets-small\/\" data-orig-file=\"https:\/\/i1.wp.com\/storyist.com\/blog\/wp-content\/uploads\/2017\/11\/Snippets-Small.png?fit=534%2C150&amp;ssl=1\" data-orig-size=\"534,150\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Snippets-Small\" data-image-description=\"\" data-medium-file=\"https:\/\/i1.wp.com\/storyist.com\/blog\/wp-content\/uploads\/2017\/11\/Snippets-Small.png?fit=300%2C84&amp;ssl=1\" data-large-file=\"https:\/\/i1.wp.com\/storyist.com\/blog\/wp-content\/uploads\/2017\/11\/Snippets-Small.png?fit=534%2C150&amp;ssl=1\" loading=\"lazy\" src=\"https:\/\/i1.wp.com\/storyist.com\/blog\/wp-content\/uploads\/2017\/11\/Snippets-Small.png?resize=300%2C84\" alt=\"\" width=\"300\" height=\"84\" class=\"aligncenter size-medium wp-image-223\" srcset=\"https:\/\/i1.wp.com\/storyist.com\/blog\/wp-content\/uploads\/2017\/11\/Snippets-Small.png?resize=300%2C84&amp;ssl=1 300w, https:\/\/i1.wp.com\/storyist.com\/blog\/wp-content\/uploads\/2017\/11\/Snippets-Small.png?resize=150%2C42&amp;ssl=1 150w, https:\/\/i1.wp.com\/storyist.com\/blog\/wp-content\/uploads\/2017\/11\/Snippets-Small.png?w=534&amp;ssl=1 534w\" sizes=\"(max-width: 300px) 85vw, 300px\" data-recalc-dims=\"1\" \/><\/p>\n<p>What are the bubbles? Placeholders!<\/p>\n<ol>\n<li>Press tab again to highlight the <code>dialog<\/code> bubble and type some dialog.<\/p>\n<\/li>\n<li>\n<p>Press tab again to highlight the <code>name<\/code> bubble and type a character name.<\/p>\n<\/li>\n<li>\n<p>Press tab again to highlight the end of the line and press return.<\/p>\n<\/li>\n<\/ol>\n<p>Here is an example:<\/p>\n<p><span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe class='youtube-player' width='840' height='473' src='https:\/\/www.youtube.com\/embed\/CLNoTuOIi4s?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent' allowfullscreen='true' style='border:0;' sandbox='allow-scripts allow-same-origin allow-popups allow-presentation'><\/iframe><\/span><\/p>\n<p>Using the snippet editor, you can quickly define define your own snippets. To view the snippet editor, choose <code>Storyist &gt; Preferences<\/code> and select the Text Editing pane.<\/p>\n<p><img data-attachment-id=\"229\" data-permalink=\"https:\/\/storyist.com\/blog\/2017\/11\/working-with-snippets\/snippet-editor\/\" data-orig-file=\"https:\/\/i0.wp.com\/storyist.com\/blog\/wp-content\/uploads\/2017\/11\/Snippet-Editor.png?fit=1402%2C1216&amp;ssl=1\" data-orig-size=\"1402,1216\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Snippet Editor\" data-image-description=\"\" data-medium-file=\"https:\/\/i0.wp.com\/storyist.com\/blog\/wp-content\/uploads\/2017\/11\/Snippet-Editor.png?fit=300%2C260&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/storyist.com\/blog\/wp-content\/uploads\/2017\/11\/Snippet-Editor.png?fit=840%2C728&amp;ssl=1\" loading=\"lazy\" src=\"https:\/\/i1.wp.com\/storyist.com\/blog\/wp-content\/uploads\/2017\/11\/Snippet-Editor-1024x888.png?resize=840%2C728\" alt=\"\" width=\"840\" height=\"728\" class=\"aligncenter size-large wp-image-229\" srcset=\"https:\/\/i0.wp.com\/storyist.com\/blog\/wp-content\/uploads\/2017\/11\/Snippet-Editor.png?resize=1024%2C888&amp;ssl=1 1024w, https:\/\/i0.wp.com\/storyist.com\/blog\/wp-content\/uploads\/2017\/11\/Snippet-Editor.png?resize=150%2C130&amp;ssl=1 150w, https:\/\/i0.wp.com\/storyist.com\/blog\/wp-content\/uploads\/2017\/11\/Snippet-Editor.png?resize=300%2C260&amp;ssl=1 300w, https:\/\/i0.wp.com\/storyist.com\/blog\/wp-content\/uploads\/2017\/11\/Snippet-Editor.png?resize=1200%2C1041&amp;ssl=1 1200w, https:\/\/i0.wp.com\/storyist.com\/blog\/wp-content\/uploads\/2017\/11\/Snippet-Editor.png?w=1402&amp;ssl=1 1402w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" data-recalc-dims=\"1\" \/><\/p>\n<p>To add a new snippet:<\/p>\n<ol>\n<li>Click the <code>+<\/code> button.<\/p>\n<\/li>\n<li>\n<p>Add a name and tab trigger (abbreviation).<\/p>\n<\/li>\n<li>\n<p>Enter the replacement text.<\/p>\n<\/li>\n<\/ol>\n<p>To create a placeholder bubble, just wrap the placeholder text with <code>&lt;#<\/code> and <code>#&gt;<\/code> like this: <code>\"&lt;#dialog#&gt;?\" &lt;#name#&gt; asked.&lt;# #&gt;<\/code><\/p>\n<p>You might use snippets for:<\/p>\n<ul>\n<li>Character names<\/p>\n<\/li>\n<li>\n<p>Locations<\/p>\n<\/li>\n<li>\n<p>Dialog<\/p>\n<\/li>\n<li>\n<p>Terminology<\/p>\n<\/li>\n<\/ul>\n<p>Go ahead and experiment!<\/p>\n<p>-Steve<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Over the course of a draft, you probably type the same character combinations hundreds if not thousands of times. Why not let Storyist type them for you? Storyist can insert multi-line text snippets (bits of text) with just a few keystrokes. Try this: Make sure tab shortcuts are enabled. Place the cursor at the start &hellip; <a href=\"https:\/\/storyist.com\/blog\/2017\/11\/working-with-snippets\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Working with Snippets&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":233,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[3,5],"tags":[],"jetpack_featured_media_url":"https:\/\/i2.wp.com\/storyist.com\/blog\/wp-content\/uploads\/2017\/11\/Snippets-Blog-Header.png?fit=1920%2C1080&ssl=1","jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p7fYxB-3A","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/storyist.com\/blog\/wp-json\/wp\/v2\/posts\/222"}],"collection":[{"href":"https:\/\/storyist.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/storyist.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/storyist.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/storyist.com\/blog\/wp-json\/wp\/v2\/comments?post=222"}],"version-history":[{"count":6,"href":"https:\/\/storyist.com\/blog\/wp-json\/wp\/v2\/posts\/222\/revisions"}],"predecessor-version":[{"id":234,"href":"https:\/\/storyist.com\/blog\/wp-json\/wp\/v2\/posts\/222\/revisions\/234"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/storyist.com\/blog\/wp-json\/wp\/v2\/media\/233"}],"wp:attachment":[{"href":"https:\/\/storyist.com\/blog\/wp-json\/wp\/v2\/media?parent=222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/storyist.com\/blog\/wp-json\/wp\/v2\/categories?post=222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/storyist.com\/blog\/wp-json\/wp\/v2\/tags?post=222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}