MD @phodal with Mifa Design

公众号 Phodal 专用编辑器

GitHub 地址:https://github.com/phodal/MD

更多精彩内容请关注扫码

图注:Phodal's Wechat
图注:Phodal's Wechat

目录示例:

  1. 一些示例
  2. Todo Example

一些示例

单行高亮: phodal 测试

这是一个脚注的测试 [note]

  1. (function() {
  2. var input, output;
  3. var converter = new showdown.Converter();
  4. function updateOutput() {
  5. output.innerHTML = converter.makeHtml(input.value);
  6. }
  7. document.addEventListener("DOMContentLoaded", function(event) {
  8. input = document.getElementById('input');
  9. output = document.getElementById('output');
  10. input.addEventListener('input', updateOutput, false);
  11. input.addEventListener('keydown', updateOutput, false);
  12. updateOutput();
  13. });
  14. })();
  1. echo 'hello,world'

下面是一个列表的示例,技术栈:

  1. Google Code Prettify
  2. Showdown.js
  3. Clipboard

另外一个列表:

  • Google Code Prettify
  • Showdown.js
  • Clipboard

表格示例:

h1 h2 h3
100 [a][1] ![b][2]
foo bar ~~baz~~
foo bar ~~baz~~

Todo Example

    Mercury

    Venus

    Earth (Orbit/Moon)

    Mars

    Jupiter

    Saturn

[note]: 测试是指测试

取消