在Merea-Frameowrk网站上删除文字?

时间:2016-05-31 14:42:54

标签: kramdown morea-framework

Strikethrough在更多框架降价页面中对我不起作用,例如,

  

~~删除线~~

显示原始波浪号。

我看到here已经在kramdown中修复了这个问题(在morea中使用的降价引擎)。我应该更新kramdown吗?那么如何?其他想法? 感谢。

1 个答案:

答案 0 :(得分:2)

将Jekyll和Kramdown更新为最新版本后,strikethrough工作正常。以下是一个示例删除线的示例莫雷网站:

http://morea-framework.github.io/morea-news-page-example/

home.md页面源位于:

https://raw.githubusercontent.com/morea-framework/morea-news-page-example/master/src/morea/morea/home.md

为了使这项工作正常,我更新了gem,jekyll和kramdown:

% sudo gem update --system
Password:
Updating rubygems-update
Fetching: rubygems-update-2.6.4.gem (100%)
Successfully installed rubygems-update-2.6.4
Parsing documentation for rubygems-update-2.6.4
Installing ri documentation for rubygems-update-2.6.4
Installing darkfish documentation for rubygems-update-2.6.4
Parsing documentation for rubygems-update-2.6.4
Installing RubyGems 2.6.4
RubyGems 2.6.4 installed
Parsing documentation for rubygems-2.6.4
Installing ri documentation for rubygems-2.6.4

% sudo gem update jekyll
Updating installed gems
Updating jekyll
Fetching: jekyll-3.1.6.gem (100%)
Successfully installed jekyll-3.1.6
Parsing documentation for jekyll-3.1.6
Installing ri documentation for jekyll-3.1.6
Installing darkfish documentation for jekyll-3.1.6
Parsing documentation for jekyll-3.1.6
Gems updated: jekyll

% sudo gem update kramdown
Updating installed gems
Updating kramdown
Fetching: kramdown-1.11.1.gem (100%)
Successfully installed kramdown-1.11.1
Parsing documentation for kramdown-1.11.1
Installing ri documentation for kramdown-1.11.1
Installing darkfish documentation for kramdown-1.11.1
Parsing documentation for kramdown-1.11.1
Gems updated: kramdown

也许你只需要更新kramdown,但这似乎也是更新Jekyll的好机会。