thymeleaf / thymeleaf-docs

Thymeleaf documentation
Apache License 2.0
44 stars 54 forks source link

Add Standard-Dialect-5-Minutes md version #4

Closed asis closed 10 years ago

asis commented 10 years ago

A markdown version of the "Standard Dialect in 5 Minutes" article. The translation process goes like this:

  1. Clean the HTML layout stuff
  2. Remove spurious white spaces
  3. Replace some HTML tags
    1. kbd -> code
    2. script (src syntax highlighting stuff) -> pre
  4. Escape pre tags HTML content
  5. Transform the HTML into MD using pandoc
  6. Tag each code block in the MD source with the right language

Given step 6 is a manual process, I can't automate the whole thing, so translating the rest of the articles will take some time :)

@ultraq, could you please take a look at the markdown source and tell me if you see any problem? Thx!

ultraq commented 10 years ago

Looks good. I checked out your branch and even ran the doc-generating process over the file, it created a nice HTML file. The only issue was the link at the end which is relative instead of absolute, but it was that way with the original article - if the docs get generated to a different place, then those links will need to be updated.