Readme.rst 934 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. HTML tags for reStructuredText
  2. ------------------------------
  3. This plugin allows you to use HTML tags from within reST documents.
  4. Directives
  5. ----------
  6. ::
  7. .. html::
  8. (HTML code)
  9. Example
  10. -------
  11. A search engine::
  12. .. html::
  13. <form action="http://seeks.fr/search" method="GET">
  14. <input type="text" value="Pelican v2" title="Search" maxlength="2048" name="q" autocomplete="on" />
  15. <input type="hidden" name="lang" value="en" />
  16. <input type="submit" value="Seeks !" id="search_button" />
  17. </form>
  18. A contact form::
  19. .. html::
  20. <form method="GET" action="mailto:some email">
  21. <p>
  22. <input type="text" placeholder="Subject" name="subject">
  23. <br />
  24. <textarea name="body" placeholder="Message">
  25. </textarea>
  26. <br />
  27. <input type="reset"><input type="submit">
  28. </p>
  29. </form>