| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> |
| 2 | <html> |
| 3 | |
| 4 | <head> |
| 5 | <title>demo : Pre to div element conversion</title> |
| 6 | </head> |
| 7 | |
| 8 | <body> |
| 9 | <snippet type="rst:block"> |
| 10 | .. tip:: |
| 11 | |
| 12 | This snippet here is needed to trigger the pre-to-div-postprocessor. |
| 13 | Only when there is "mixed"-content it will be triggered. |
| 14 | </snippet> |
| 15 | <div class="fragment"><div class="line">This is preformatted content</div><div class="line">without any rst in it.</div><div class="line">The parser should change this to a div tag</div><div class="line">with class "fragment" and subdivs </div><div class="line">with class "line" for each line.</div></div> |
| 16 | </body> |
| 17 | |
| 18 | </html> |