jarus / flask-rst

Create a website from simple reStructuredText files
Other
19 stars 5 forks source link

how to insert html code into a post? #19

Open luckypoem opened 10 years ago

luckypoem commented 10 years ago

hi.

test1

:public: True :tags: ["misc1", "misc2"] :summary: "read more"

this is test1.

the above is actually "wysiwyg" editor.so how to insert html code into a post?

and 2nd question,where to set posts quantity shown in the homepage? how to set page1,page2...(or next page)?

jarus commented 10 years ago

It should be possible to use the raw directive of docutils like:

.. raw:: html

   <hr width=50 size=10>
luckypoem commented 10 years ago

hi. i tried,failed.can u try to insert a youtube video into a post in ur site to see if u can succeed?