Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: tools/md_browser/md_browser.py

Issue 2772173002: set tab length to 2 (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/md_browser/md_browser.py
diff --git a/tools/md_browser/md_browser.py b/tools/md_browser/md_browser.py
index d3594bfe520c97ad810e9c63151122ab90c69824..2b45c9740ae7267bb691dfb8a196f5bbef1d8653 100755
--- a/tools/md_browser/md_browser.py
+++ b/tools/md_browser/md_browser.py
@@ -165,6 +165,7 @@ class Handler(SimpleHTTPServer.SimpleHTTPRequestHandler):
md = markdown.Markdown(extensions=extensions,
extension_configs=extension_configs,
+ tab_length=2,
output_format='html4')
has_a_single_h1 = (len([line for line in contents.splitlines()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698