5
निम्न फ़ाइल को देखते हुए:जेकिल में, एक वैरिएबल को प्रिंट करने के बजाय मार्कडाउन के रूप में कैसे पार्स करें?
_data
slides.yml
जो
- title: Slide one
desc: |
welcome to the slideshow
This is an open-source slideshow, built with [deck.js](https://github.com/imakewebthings/deck.js), GitHub and [Jekyll](http://jekyllrb.com).
- title: Slide two
desc: |
Second slide with bullet points
* Hello world
* This is a slideshow
शामिल मेरी index.html में मैं
{% for slide in site.data.slides %}
<section class="slide">
<h2>{{ slide.title }}</h2>
{{ slide.desc }}
</section>
{% endfor %}
है मैं Jekyll व्याख्या करने के लिए कैसे प्राप्त कर सकते हैं {{} slide.desc } मार्कडाउन के रूप में? क्या ऐसा कुछ मौजूद है:
...
{{ slide.desc AS markdown }}
...
धन्यवाद!
अल्बर्ट
बहुत बढ़िया। बस इस पोस्ट में आया और यह जानना आसान होगा! – trnelson