mirror of
https://github.com/tiennm99/styleguide.git
synced 2026-10-19 12:16:44 +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
|
<p>Highlight todos by using the keyword <code>TODO</code> only, not other common formats like
|
||||||
<code>@@</code>.</p>
|
<code>@@</code>.</p>
|
||||||
|
|
||||||
<p>Append a contact (username or mailing list) in parentheses as with the format
|
<p>Append action items after a colon as in <code>TODO: action
|
||||||
<code>TODO(contact)</code>.</p>
|
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: Revisit centering. #}
|
||||||
|
|
||||||
<pre><code class="language-django external good">{# TODO(john.doe): revisit centering #}
|
|
||||||
<center>Test</center>
|
<center>Test</center>
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<pre><code class="language-html good"><!-- TODO: remove optional tags -->
|
<pre><code class="language-html good"><!-- TODO: Remove optional tags. -->
|
||||||
<ul>
|
<ul>
|
||||||
<li>Apples</li>
|
<li>Apples</li>
|
||||||
<li>Oranges</li>
|
<li>Oranges</li>
|
||||||
|
|||||||
Reference in new issue
Block a user