소스 검색

note on syntax highlighting

Heydon Pickering 7 년 전
부모
커밋
362e846524
4개의 변경된 파일29개의 추가작업 그리고 3개의 파일을 삭제
  1. 5 1
      content/patterns/coding/code-blocks.md
  2. 12 1
      docs/patterns/coding/code-blocks/index.html
  3. 12 1
      docs/print-version/index.html
  4. 0 0
      docs/service-worker.js

+ 5 - 1
content/patterns/coding/code-blocks.md

@@ -55,7 +55,7 @@ You mark out the highlighted areas with double parentheses like so:
 {{</html>}}
 {{</codeBlock>}}
 
-Better still, if you include `numbered="true"`, each highlight is enumberated so you can reference it directly in the ensuing text.
+Better still, if you include `numbered="true"`, each highlight is enumerated so you can reference it directly in the ensuing text.
 
 {{<html numbered="true">}}
 <div ((role="dialog")) ((aria-labelledby="dialog-heading"))>
@@ -80,3 +80,7 @@ You just include `numbered="true"` on the opening shortcode tag:
 &lt;/div>
 &#x7b;{&lt;/html>}}
 {{</codeBlock>}}
+
+{{% note %}}
+As you may have noticed, using specified highlights with the `html` shortcode sacrifices syntax highlighting.
+{{% /note %}}

+ 12 - 1
docs/patterns/coding/code-blocks/index.html

@@ -461,7 +461,7 @@
 </code></pre>
 
 
-<p>Better still, if you include <code>numbered=&quot;true&quot;</code>, each highlight is enumberated so you can reference it directly in the ensuing text.</p>
+<p>Better still, if you include <code>numbered=&quot;true&quot;</code>, each highlight is enumerated so you can reference it directly in the ensuing text.</p>
 
 
 
@@ -493,6 +493,17 @@
 </code></pre>
 
 
+<aside aria-label="note" class="note">
+  <div>
+    <svg class="sign" aria-hidden="true" viewBox="0 0 41.667306 41.66729" focusable="false">
+      <use xlink:href="#info"></use>
+    </svg>
+    <p>As you may have noticed, using specified highlights with the <code>html</code> shortcode sacrifices syntax highlighting.</p>
+
+  </div>
+</aside>
+
+
   </main>
 
           <footer role="contentinfo">

+ 12 - 1
docs/print-version/index.html

@@ -1745,7 +1745,7 @@ toc = false
 </code></pre>
 
 
-<p>Better still, if you include <code>numbered=&quot;true&quot;</code>, each highlight is enumberated so you can reference it directly in the ensuing text.</p>
+<p>Better still, if you include <code>numbered=&quot;true&quot;</code>, each highlight is enumerated so you can reference it directly in the ensuing text.</p>
 
 
 
@@ -1777,6 +1777,17 @@ toc = false
 </code></pre>
 
 
+<aside aria-label="note" class="note">
+  <div>
+    <svg class="sign" aria-hidden="true" viewBox="0 0 41.667306 41.66729" focusable="false">
+      <use xlink:href="#info"></use>
+    </svg>
+    <p>As you may have noticed, using specified highlights with the <code>html</code> shortcode sacrifices syntax highlighting.</p>
+
+  </div>
+</aside>
+
+
           </div>
         
           <div class="pattern-section">

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
docs/service-worker.js


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.