brucebot
V2EX  ›  问与答

Google charts的js代码在markdown里面解析

  •  
  •   brucebot · Oct 14, 2012 · 3858 views
    This topic created in 5134 days ago, the information mentioned may be changed or developed.
    hey,

    我想用google chart生成图表,并且希望将这图表能够嵌入我的文章中,文章是用markdown在jekyll里面写的,google搜索了下都是javascript解析markdown的。
    3 replies  •  1970-01-01 08:00:00 +08:00
    thcode
    thcode
    Oct 14, 2012❤️1
    1
    Markdown 中可以插入 HTML 代码,把 Google Chart 的代码作为 HTML 应该可以吧。
    brucebot
    brucebot
    OP
    Oct 14, 2012
    2
    @thcode 不行的,jekyll解析后会加一些标识进去的
    see http://brucebot.com/pages/robot-sales-and-operation-stock-chart-2011.html
    brucebot
    brucebot
    OP
    Oct 14, 2012
    3
    @thcode 可以了,是我没有删除中间的一些空格
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2812 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 14:20 · PVG 22:20 · LAX 06:20 · JFK 09:20
    ♥ Do have faith in what you're doing.