How to use reStructuredText in COREBlog's entry
How to use reStructuredText in COREBlog's entry.
reStructuredText is a text markup syntax, easy-to-read, what-you-see-is-what-you-get.
For more information, see this page.
Requirements
- Zope 2.7 or higher
- COREBlog 0.73b still work with Zope 2.6.x ,2.5.x , 2.4.x. But if you want to use reStructuredText,you have to upgrade Zope 2.7.x.
- For Zope 2.6.x users, please check following URL :-).
- COREBlog 0.73b or higher
Customizing SKIN
If you have COREBlog site created on erlyer COREBlog 0.73b,you need customize SKIN.
Please click contents tab. Then you can see entry_body.
- In middle of the codes, add dtml-elif block for reStructuredText for body
%lt;dtml-elif "format == 4 and body"> %lt;dtml-var body fmt=restructured-text> %lt;/dtml-if>
- In middle-low of the codes.add dtml-elif block for reStructuredText for extend
%lt;dtml-elif "format == 4 and extend"> %lt;dtml-var extend fmt=restructured-text> %lt;/dtml-if>
That's all :-).