markdown语法验证器

use*_*269 5 markdown jekyll octopress

使用Octopress(Jekyll)时是否有任何特定的写入降价规则?

我已经尝试将其粘贴到:http://markable.in/editor/ 它看起来很好但是当我用rake preview它从markdown源生成html时它只生成一个空白页面.

这是导致转换为html时出错的第一个代码块.我删除了它,一切正常.但我不知道为什么这段代码不起作用.有没有我可以安装的插件来使解释器(它的名称是什么?)不那么敏感.或者是否有任何工具可以向我指出源的确切错误.

```
php artisan generate:migration create_departments_table department:string

php artisan generate:migration create_roles_table department_id:integer role:string

php artisan generate:migration create_transactions_table department_id:integer main_menu:string menu_text:string address:string

php artisan generate:migration create_rolestransactions_table role_id:integer transaction_id:integer status:integer

php artisan generate:migration create_userlogs_table user_id:integer user:string department:string transaction:string dateandtime:timestamp
```
Run Code Online (Sandbox Code Playgroud)

这是来源:https: //gist.github.com/4186168

也许你可以向我指出我做错了什么.也许你可以指出一个链接到写入降价的规则,它与解释器完美配合.

更新

生成的html页面上没有任何内容.我已经安装了斜杠主题https://github.com/tommy351/Octopress-Theme-Slash

以下是安装的插件:

在此输入图像描述

我认为大多数都是默认插件,因为我不记得安装了插件.而且,如果它可能有所帮助,我在Windows上.

Noc*_*tua 1

当我使用 markdown 可执行文件转换您的代码时,它可以工作,但解释错误。

您不应该将代码块放在三个反引号之间,只需将它们缩进 4 个空格即可。反引号用于内联代码。

编辑:我忽略了反引号块代码插件。以上被渲染为假。