# Prevent markup of markdown in template

**URL:** <https://talk.jekyllrb.com/t/prevent-markup-of-markdown-in-template/2458>\
**Category:** Help\
**Created:** [December 28, 2018, 8:24pm UTC](https://talk.jekyllrb.com/t/prevent-markup-of-markdown-in-template/2458 "2018-12-28T20:24:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Screenack](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/screenack/32/1429_2.png) [@Screenack](https://talk.jekyllrb.com/u/Screenack)\
**Post date:** [December 28, 2018, 8:24pm UTC](https://talk.jekyllrb.com/t/prevent-markup-of-markdown-in-template/2458/1 "2018-12-28T20:24:46Z")

</div>

I am working on integrating [reveal.js](https://github.com/hakimel/reveal.js) into my [minimal mistakes-based theme](https://github.com/mmistakes/minimal-mistakes). I’ve created a layout for these posts and I’d like to use markdown as my presentation markup for Reveal. However, I’d like to pass the content to the layout without Jekyll rendering the markdown.

If I begin my post markdown file with: `{::nomarkdown}` and end my post with `{:/}` I’m able to pass the unrendered content to the page’s DOM and reveal will create slides as per my markup and configuration.

However, I’d prefer if I can call `{{ content }}` to pass the raw post contents, rather than to always add the no markup instruction to my posts.

> **My reveal.html layout**
>
> \<!doctype html\>
> 
> ```
> {% include_cached browser-upgrade.html %}
> 
> <div class="reveal">
> <div class="slides">
> <section data-markdown
> data-separator="^\n\n\n"
> data-separator-vertical="^\n\n"
> data-separator-notes="^Note:">
> {{ content }}
> </section>
> </div>
> </div>
> 
> <script src="{{ site.baseurl }}/assets/reveal/js/reveal.js"></script>
> <script src="{{ site.baseurl }}/assets/reveal/plugin/markdown/marked.js"></script>
> <script src="{{ site.baseurl }}/assets/reveal/plugin/markdown/markdown.js"></script>
> <script>
> Reveal.initialize();
> </script>
> 
> ```

Thanks in advance.
