`
yNoooo
  • 浏览: 40772 次
  • 性别: Icon_minigender_2
  • 来自: 上海
文章分类
社区版块
存档分类
最新评论

redcloth使用

阅读更多
redcloth使用textile语法  http://textile.thresholdstate.com/
用法:require ‘redcloth’
html = ”strong text and emphasized text”
r = RedCloth.new(html)
r.to_html
至于redcloth段落缩进用的是前面加空格吧
 <blockquote _moz_dirty=""><div align="left" _moz_dirty="">目前我还没有适用<br _moz_dirty=""/>11<br _moz_dirty=""/></div></blockquote>
分享到:
评论
1 楼 yNoooo 2007-07-24  
http://notepad.onghu.com/2007/3/28/using-textile-editor-plugin-and-acts_as_textiled
关于textile_editor的安装和使用

相关推荐

    redcloth 安装至ruby on rails 项目中

    redcloth使用,其包括了redcloth.rb以及页面显示用到的js,css,image.以及语法帮助。 博文链接:https://hooney.iteye.com/blog/208838

    What is RedCloth

    RedCloth可能使用正则表达式和其他文本处理技术来识别和转换Textile的语法元素。 **工具集成** RedCloth可以与各种Ruby框架和工具集成,如Rails、Jekyll等,用于生成博客文章、文档或其他需要格式化的文本内容。它...

    redcloth, RedCloth是一个用于将 Textile 转换为HTML的ruby 库.zip

    redcloth, RedCloth是一个用于将 Textile 转换为HTML的ruby 库 RedCloth - ruby的Textile 解析器主页redcloth.org维护者Joshua Siler github.com/joshuasiler作者Garber版权

    redcloth-formatters-plain:与RedCloth中包含HTML和Latex格式化程序类似,这一代码使您可以将Textile转换为纯文本,而无需使用Textile语法

    RedCloth :: Formatters :: Plain 与RedCloth中包含的HTML和Latex格式化程序类似,此格式允许您将Textile转换为纯文本,而无需使用Textile语法。依存关系这个插件只需要 。例子RedCloth.new("p. this is *simple* _...

    wiki引擎git-wiki.zip

    git-wiki 是使用 Git 做为数据存储的 wiki 引擎,使用 Ruby 开发。要求环境支持: rubygems sinatra grit redcloth rubypants 标签:gitwiki

    jekyll gem

    **Jekyll Gem 知识点详解** ...Ruby 是Jekyll 的编程语言基础,所以理解Ruby环境至关重要。在描述中提到的`ruby -v...在使用Jekyll时,了解并掌握这些Gem的作用和用法,可以帮助开发者更高效地构建和维护自己的静态站点。

    webgen-website:Webgen网站的来源

    Webgen网站的来源 ...$ gem install maruku rdiscount rdoc RedCloth sass $ gem install webgen-zurb_foundation-bundle $ gem install webgen-font_awesome-bundle $ gem install webgen-tipue_search-bund

    JavaCloth-开源

    JavaCloth是一个开源项目,它的出现是为了在Java环境中提供与RedCloth和Markdown类似的文本解析功能。RedCloth是Textile格式的一种实现,而Markdown则是一种轻量级的标记语言,两者都广泛用于将易读的文本格式转换为...

    rubygems-1.6.2.tgz

    在Redmine的安装过程中,RubyGems用于获取和安装Redmine本身及其依赖的gem,比如数据库连接器(如pg或mysql2)、文本处理库(如RedCloth或Kramdown)、邮件处理库(如ActionMailer)等。这些gem确保了Redmine能够...

    YAML.rb: YAML for Ruby-开源

    `PStore`虽然功能强大,但它的使用场景可能相对有限,而`YAML.rb`通过支持更丰富的数据结构和更灵活的序列化/反序列化,可以适应更广泛的项目需求。 使用`YAML.rb`,开发者可以方便地将Ruby对象转换成YAML格式的...

    diy-broadcast:自己动手做广播电视台广播项目

    gem install RedCloth -v '4.2.9' gem install nokogiri -v '1.6.6.2' 克隆此存储库后,运行: bundle install以下载构建所需的依赖项。 bundle exec jekyll serve在本地运行,或bundle exec jekyll build ./...

    rdiscount:打折(对于Ruby)John Gruber的Markdown的实现

    Ruby降价促销处理器 Discount是...用法RDiscount实现了RedCloth流行并被BlueCloth采用的基本协议: require 'rdiscount'markdown = RDiscount.new("Hello World!")puts markdown.to_html创建RDiscount对象时,可以打

Global site tag (gtag.js) - Google Analytics