diff options
author | jcgregorio <jcgregorio@google.com> | 2015-01-21 08:02:45 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-21 08:02:45 -0800 |
commit | 0f2e055580d98659049dbd5c50149e7c32cbd45b (patch) | |
tree | 4f421275950684ebf73ef605050acfc3c7394051 | |
parent | 6a04c8c917fe61d267f019367a6e05d9060f0bc3 (diff) |
Add docs for prettify.
Preview here: http://skia.org/dev/tools/markdown?cl=862933002
BUG=skia:
Review URL: https://codereview.chromium.org/862933002
-rw-r--r-- | site/dev/tools/markdown.md | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/site/dev/tools/markdown.md b/site/dev/tools/markdown.md index e08ccb9473..66feb9460e 100644 --- a/site/dev/tools/markdown.md +++ b/site/dev/tools/markdown.md @@ -42,8 +42,14 @@ Or go old school and use [ASCII art](http://asciiflow.com/): ~~~~ -Format code snippets or other preformatted text. +Format code snippets or other preformatted text. Just surround the code +with `~~~~`. You can also trigger syntax highlighting by putting in +the following HTML comment before the code section: + <!--?prettify?--> + + +<!--?prettify?--> ~~~~ class SK_API SkPaint { public: @@ -54,6 +60,7 @@ public: SkPaint& operator=(const SkPaint&); ~~~~ + Tables Name | Value | Summary |