cnDenis的笔记
  • 我的碎碎念
  • 关于我

在Markdown里放JavaScript代码

MarkDown里是可以直接放HTML标签的, 也可以放<script>, 但是要注意的是, <script> 前要空一行, 这样才不会被当成文本.

也有人说要在<script>后面空一行, 我这里试了一下, 似乎不空也行.

参考: Embed javascript in markdown

more ...

About cnDenis

  • Categories

    • Erlang
    • Python
    • Tools
    • Web
  • Tags

    • all
    • any
    • Apache
    • Atom
    • BeautifulSoup
    • BIF
    • Binary
    • 并发
    • Blog
    • configparser
    • 代码片段
    • Dialyzer
    • Disqus
    • Erlang
    • ets
    • gen_server
    • HelloWorld
    • IDE
    • JavaScript
    • Jekyll
    • jqPlot
    • 列表
    • lists
    • Markdwon
    • nonlocal
    • OTP
    • PHP
    • proplists
    • PyGraphviz
    • Python
    • 时间
    • SQL
    • String
    • Sublime
    • supervisor
    • Tk
    • Ulipad
    • 中文
    • 字符串
  • Links

    • Erlang官网
    • Pelican官网
  • Archive

    • 十一月 2013 (1)

© 2013 cnDenis · Powered by pelican-bootstrap3, Pelican, Bootstrap

Creative Commons License Content licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License, except where indicated otherwise.

Back to top