mirror of
https://github.com/tiennm99/styleguide.git
synced 2026-10-04 20:13:36 +00:00
htmlcssguide: Update TODO format (#884)
This update changes the TODO formatting and examples to more closely align with Google’s internal TODO style.
This commit is contained in:
1 parent
b5908c3253
commit
0a0cfa22e2
1 file changed
+4
-6
+4
-6
@@ -143,16 +143,14 @@ depends on the project’s complexity.)</p>
|
||||
<p>Highlight todos by using the keyword <code>TODO</code> only, not other common formats like
|
||||
<code>@@</code>.</p>
|
||||
|
||||
<p>Append a contact (username or mailing list) in parentheses as with the format
|
||||
<code>TODO(contact)</code>.</p>
|
||||
<p>Append action items after a colon as in <code>TODO: action
|
||||
item</code>.</p>
|
||||
|
||||
<p>Append action items after a colon as in <code>TODO: action item</code>.</p>
|
||||
|
||||
<pre><code class="language-django external good">{# TODO(john.doe): revisit centering #}
|
||||
<pre><code class="language-django external good">{# TODO: Revisit centering. #}
|
||||
<center>Test</center>
|
||||
</code></pre>
|
||||
|
||||
<pre><code class="language-html good"><!-- TODO: remove optional tags -->
|
||||
<pre><code class="language-html good"><!-- TODO: Remove optional tags. -->
|
||||
<ul>
|
||||
<li>Apples</li>
|
||||
<li>Oranges</li>
|
||||
|
||||
Reference in new issue
Block a user