<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Preview on Emet CMS</title>
		<link>https://docs.emetcms.com/preview/</link>
		<description>Recent content in Preview on Emet CMS</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
			<copyright>Documentation site content for Emet CMS. Theme based on [Hugo Book](https://github.com/alex-shpak/hugo-book) by [Alex Shpak](https://github.com/alex-shpak).
</copyright>
		
		
			<atom:link href="https://docs.emetcms.com/preview/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>CSS preview</title>
				<link>https://docs.emetcms.com/preview/css-preview/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://docs.emetcms.com/preview/css-preview/</guid>
				<description>&lt;p&gt;The CSS preview renders your Markdown in the browser (with the same remark and rehype pipeline the visual editor uses) and puts the result in a sandboxed frame, where it can be styled with your site&amp;rsquo;s actual stylesheets. You don&amp;rsquo;t get Hugo&amp;rsquo;s layouts, but you do get your fonts, colours and spacing, which is most of what matters while you&amp;rsquo;re writing. It updates half a second after you stop typing.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Template interpolation</title>
				<link>https://docs.emetcms.com/preview/template-interpolation/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://docs.emetcms.com/preview/template-interpolation/</guid>
				<description>&lt;p&gt;An &lt;a href=&#34;https://docs.emetcms.com/shortcodes/inline-shortcodes/&#34;&gt;inline shortcode&lt;/a&gt; carries its Go template in the page, so the preview pane has the template right there. It can&amp;rsquo;t run it, since there&amp;rsquo;s no Hugo in the browser, but it can do the next best thing: find the places where the template reads its parameters, drop the values in and throw away whatever&amp;rsquo;s left. This page is about how far that gets you.&lt;/p&gt;&#xA;&lt;p&gt;It only applies to inline shortcodes. Block shortcodes use the &lt;code&gt;{{field}}&lt;/code&gt; &lt;a href=&#34;https://docs.emetcms.com/shortcodes/preview-templates/&#34;&gt;preview templates&lt;/a&gt; from &lt;code&gt;site.yaml&lt;/code&gt;, and Emet never reads your &lt;code&gt;layouts/shortcodes/*.html&lt;/code&gt; files in the preview.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Hugo server preview</title>
				<link>https://docs.emetcms.com/preview/hugo-server/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://docs.emetcms.com/preview/hugo-server/</guid>
				<description>&lt;p&gt;The &lt;a href=&#34;https://docs.emetcms.com/preview/css-preview/&#34;&gt;CSS preview&lt;/a&gt; is a good approximation, but it&amp;rsquo;s still an approximation: no layouts, no partials, and shortcodes rendered from stand-in templates. If Hugo is installed on the machine Emet is running on, you can skip all that and look at the real page. Emet loads it from a &lt;code&gt;hugo server&lt;/code&gt; in the preview pane, and Hugo&amp;rsquo;s live reload keeps it current.&lt;/p&gt;&#xA;&lt;p&gt;This needs Hugo on the same machine as Emet, so it&amp;rsquo;s only available in two situations:&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
