pelican: How to embed html and javascript in markdown

后端 未结 1 340
南旧
南旧 2021-02-02 11:15

I want to embed a few html elements and javascript in a blog post. This is my markdown file.

Title: Foo
Tags: Bar

Some Content here 

        
1条回答
  •  无人及你
    2021-02-02 11:31

    Probably the reason its not working is that you've indented your code, which means that it gets inserted as a block in the HTML, according to the Markdown spec: daringfireball.net/projects/markdown/syntax#precode

    0 讨论(0)
提交回复
热议问题