damngood
V2EX  ›  问与答

Markdown 文件 meta data 问题

  •  
  •   damngood · Feb 28, 2015 · 2799 views
    This topic created in 4182 days ago, the information mentioned may be changed or developed.
    很多 Markdown 生成工具都支持嵌入文件中的 meta 信息. 一般是 yaml, json, 或者是 toml 这种数据格式.
    现在有个问题, 当前用的 Markdown 编辑应用在 render 的时候把这些 meta 数据也包含进去了, 导致渲染出的结果和预期的不一致.

    有什么办法可解决吗? 比如添加标签让编辑器忽略 meta 信息块. 或者是有什么应用对这种情况支持比较好的.
    Supplement 1  ·  Mar 1, 2015
    除了下面 @bearcat001 提到的 MacDown, 昨晚 google 了很久发现另外一个支持 [front matter detect] 功能的应用, Erato

    两个都在试用中.
    2 replies    2015-03-01 09:27:20 +08:00
    bearcat001
        1
    bearcat001  
       Mar 1, 2015   ❤️ 1
    MacDown 支持很好
    damngood
        2
    damngood  
    OP
       Mar 1, 2015
    @bearcat001 多谢了. 使用中, 感觉还不错.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5251 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 01:17 · PVG 09:17 · LAX 18:17 · JFK 21:17
    ♥ Do have faith in what you're doing.