大虾html格式 [英] Prawn html formatting

查看:62
本文介绍了大虾html格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些简单的列表和粗体/斜体文本可以用大虾格式化.我如何让大虾注意 html 标签,而不是仅仅显式地显示它们.

I have some simple lists and bold/italic text to format with prawn. How do I get prawn to pay attention to the html tags instead of just displaying them explicitly.

如果大虾做不到,我还有什么选择?

If prawn can't do this, what are my other options?

推荐答案

内联格式已在 Prawn 的开发版本中完全重新设置.

Inline formatting has been completely re-instated in the development version of Prawn.

您可以使用稳定分支 (0.9.x) 的代码来保持稳定性,或者跟踪 master,我们刚刚合并了表格的内联样式支持.请参阅以下注释:

You can use the code off of the stable branch (0.9.x) for stability, or track master, where we just merged inline styling support for tables. See notes at:

http://wiki.github.com/sandal/prawn/changelog-dev

这篇关于大虾html格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆