commit | 3739fcd8b2ffc252e5bb05c2a789054ffa8507bc | [log] [tgz] |
---|---|---|
author | Shawn Pearce <sop@google.com> | Fri Jun 30 15:38:17 2017 -0700 |
committer | Shawn Pearce <sop@google.com> | Mon Aug 07 10:46:41 2017 -0700 |
tree | 1dea607b6d5b658fcadf6a900ff66456365af48c | |
parent | afbb9932770bdcab58fc92a454920c82492551dd [diff] |
Add support for glue to permit some block HTML in Markdown Allow a RootedDocServlet created by an integration application to override the way MarkdownToHtml handles HtmlBlock AST nodes, casting them into SafeHtml that can be appended directly to the HtmlBuilder. This can allow an integrator to pass the user content through an HTML sanitizer, and pass-through a subset it believes to be safe. The default still drops everything on the floor, and it's not possible to configure Gitiles to pass-through HTML by default. Application code changes are required to invoke the proper RootedDocServlet constructor. Change-Id: Id412bc8670d2c25f36c8486e0d3600d1cb9d0710
Gitiles is a simple repository browser for Git repositories, built on JGit. Its guiding principle is simplicity: it has no formal access controls, no write access, no fancy Javascript, etc.
Gitiles automatically renders *.md
Markdown files into HTML for simplified documentation. Refer to the Markdown documentation for details.
Gitiles is configurable in a git-style configuration file named gitiles.config
. Refer to the configuration documentation for details.
Use the issue tracker at github to file bugs.
Please refer to the Developer Guide.