Writing markdown messages inside html-div (with zurb foundation 5 and jekyll)

I'm trying to create a blog with jekyll base and zurb 5. so id would like to use the base frame html structure part inside posts, post content is really written in markdown.

<div class="row">
  <div class="small-3 columns">

     ### Header of List

    - Item 1
    - Item 2
    - Item 3

  </div>
  <div class="small-9 columns">...</div> 
</div>

      

The markup list works correctly, but not the div. the closing divs tags translate the original text of the als plane to "".

How can I properly use markdown inside a div structure?

thank you for your help!

+3


source to share


1 answer


Markdown is disabled when using <div>

-containers. To enable it internally <div>

, you should just put it inside like this: markdown="1"

<div>



<div class="row" markdown="1">
  <div class="small-3 columns" markdown="1">

     ### Header of List

    - Item 1
    - Item 2
    - Item 3

  </div>
  <div class="small-9 columns">...</div> 
</div>

      

+6


source







All Articles