html2md:将基本 html 转换为 Markdown 的 ruby​​ gem

时间:2021-05-31 10:28:39
【文件属性】:
文件名称:html2md:将基本 html 转换为 Markdown 的 ruby​​ gem
文件大小:13KB
文件格式:ZIP
更新时间:2021-05-31 10:28:39
Ruby 描述 将 HTML 转换为 Markdown 的基本库。 它是基本的,因为它只支持基本的 HTML 格式(尚不支持 CSS) 例子 require 'html2md' require 'open-uri' html2md = Html2Md . new ( open ( "Http://www.google.com" ) . read ) puts html2md . parse GoogleSearch [ Images ](http://www.google.com/imghp?hl=en&tab=wi) [ Videos ](http://video.google.com/?hl=en&tab=wv) [ Maps ](http://maps.google.com/maps?hl=en&tab=wl) [ News ](http://news.google.com/nwshp?h
【文件预览】:
html2md-master
----html2md.gemspec(814B)
----LICENSE.md(10KB)
----.travis.yml(133B)
----README.md(2KB)
----lib()
--------html2md.rb(448B)
--------html2md()
----Gemfile(70B)
----features()
--------assets()
--------step_definitions()
--------markdown.feature(4KB)
----Rakefile(392B)
----Gemfile.lock(748B)

网友评论