<h2><ahref="../entry4.html">Escape unit test</a></h2>
<spanclass="entry-date">Tuesday 13. August 2019</span>
<h2><ahref="../entry6.html">Display title in entry test</a></h2>
<spanclass="entry-date">Thursday 22. August 2019</span>
</div>
<divclass="entry_content">
<p><em>As shown below Escape will disable parsing of both VenC patterns and markup language between the Escape/EndEscape pair.</em></p>
<p>With Tessellation you can tell VenC if it must display entry title or not.</p>
<p><strong>With Escape/EndEscape</strong></p>
<p>By default, entry title are disabled.</p>
<p>
- Hello VenC!
- Hello lovely user!
</p>
<p>On the user side, to display the entry title in the entry, one have to set up the above metadata "<strong>display_title_in_entry</strong>".</p>
<p> .:SetColor::This is red text!t::red:. </p>
<p>By looking the source of the Tessellation theme, in <em>entry.html</em> you'll see that we are calling the following patterns to achieve the trick.</p>
<p><strong>Without Escape/EndEscape</strong></p>
<p></p>
<ul>
<li>Hello VenC!</li>
<li>Hello lovely user!</li>
</ul>
<pre>.:GetEntryMetadataIfExists::display_title_in_entry::<h1>Display title in entry test</h1>:.</pre>
<p><spanstyle="color: red;">This is red text!</span></p>
<p>Please note that VenC syntax require you to close Escape pattern with ::EndEscape.</p>
<p>By looking the source of the Tessellation theme, in <em>entry.html</em> you'll see that we are calling the following patterns to achieve the trick.</p>
<spanclass="n">std</span><spanclass="o">::</span><spanclass="n">cout</span><spanclass="o"><<</span><spanclass="s">"Well, not really"</span><spanclass="o"><<</span><spanclass="n">std</span><spanclass="o">::</span><spanclass="n">endl</span><spanclass="p">;</span>
<spanclass="k">if</span><spanclass="n">e</span><spanclass="o">.</span><spanclass="n">args</span><spanclass="o">==</span><spanclass="p">(</span><spanclass="s1">'tuple index out of range'</span><spanclass="p">,):</span>
<ulclass="chapter-level0 __VENC_TREE_NODE__"><li>1. <ahref="../chapters/Footnotes%20unit%20test">Footnotes unit test</a><ulclass="chapter-level1 __VENC_TREE_NODE__"><li>1.2. <ahref="../chapters/CodeHighlight%20unit%20test">CodeHighlight unit test</a><ulclass="chapter-level2 __VENC_TREE_NODE__"><li>1.2.3. <ahref="../chapters/Latex2MathML%20unit%20test">Latex2MathML unit test</a></li></ul></li></ul></li><li>2. <ahref="../chapters/Escape%20unit%20test">Escape unit test</a></li></ul>
<spanclass="n">std</span><spanclass="o">::</span><spanclass="n">cout</span><spanclass="o"><<</span><spanclass="s">"Well, not really"</span><spanclass="o"><<</span><spanclass="n">std</span><spanclass="o">::</span><spanclass="n">endl</span><spanclass="p">;</span>
<spanclass="k">if</span><spanclass="n">e</span><spanclass="o">.</span><spanclass="n">args</span><spanclass="o">==</span><spanclass="p">(</span><spanclass="s1">'tuple index out of range'</span><spanclass="p">,):</span>
<ulclass="chapter-level0 __VENC_TREE_NODE__"><li>1. <ahref="../chapters/Footnotes%20unit%20test">Footnotes unit test</a><ulclass="chapter-level1 __VENC_TREE_NODE__"><li>1.2. <ahref="../chapters/CodeHighlight%20unit%20test">CodeHighlight unit test</a><ulclass="chapter-level2 __VENC_TREE_NODE__"><li>1.2.3. <ahref="../chapters/Latex2MathML%20unit%20test">Latex2MathML unit test</a></li></ul></li></ul></li><li>2. <ahref="../chapters/Escape%20unit%20test">Escape unit test</a></li></ul>