brucebot
V2EX  ›  问与答

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

  •  
  •   brucebot · Oct 14, 2012 · 3753 views
    This topic created in 5029 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
        1
    thcode  
       Oct 14, 2012   ❤️ 1
    Markdown 中可以插入 HTML 代码,把 Google Chart 的代码作为 HTML 应该可以吧。
    brucebot
        2
    brucebot  
    OP
       Oct 14, 2012
    @thcode 不行的,jekyll解析后会加一些标识进去的
    see http://brucebot.com/pages/robot-sales-and-operation-stock-chart-2011.html
    brucebot
        3
    brucebot  
    OP
       Oct 14, 2012
    @thcode 可以了,是我没有删除中间的一些空格
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   976 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 19:55 · PVG 03:55 · LAX 12:55 · JFK 15:55
    ♥ Do have faith in what you're doing.