aboutsummaryrefslogtreecommitdiffhomepage
path: root/public/posts/2021-10-02
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-03-17 01:56:28 +0900
committernsfisis <nsfisis@gmail.com>2023-03-17 01:56:28 +0900
commit77d1d07fbc1b8e27125d5d727e1551e9aeaac6c2 (patch)
tree9df529139da165452ba2db2e33a28898a97dea4a /public/posts/2021-10-02
parent0766039bd9e6b9f5e6334e84666f5be698d41fc3 (diff)
downloadblog.nsfisis.dev-77d1d07fbc1b8e27125d5d727e1551e9aeaac6c2.tar.gz
blog.nsfisis.dev-77d1d07fbc1b8e27125d5d727e1551e9aeaac6c2.tar.zst
blog.nsfisis.dev-77d1d07fbc1b8e27125d5d727e1551e9aeaac6c2.zip
fix(content): fix XML notations
Diffstat (limited to 'public/posts/2021-10-02')
-rw-r--r--public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html33
-rw-r--r--public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html17
-rw-r--r--public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html48
3 files changed, 23 insertions, 75 deletions
diff --git a/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html b/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html
index 39ab3cd..98c9e3c 100644
--- a/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html
+++ b/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html
@@ -107,15 +107,10 @@ std::cout &lt;&lt; <span class="hljs-string">&quot;Hello, World!&quot;</span> &l
<blockquote>
<ul>
<li>
- <p>
- the identifiers that are keywords cannot be used for other purposes;
- </p>
-
+ the identifiers that are keywords cannot be used for other purposes;
<ul>
<li>
- <p>
- The only place they can be used as non-keywords is in an attribute-token. (e.g. [[private]] is a valid attribute) (since C++11)
- </p>
+ The only place they can be used as non-keywords is in an attribute-token. (e.g. [[private]] is a valid attribute) (since C++11)
</li>
</ul>
</li>
@@ -161,39 +156,27 @@ std::cout &lt;&lt; <span class="hljs-string">&quot;Hello, World!&quot;</span> &l
<ul>
<li>
- <p>
- <code>&lt;%</code>→<code>{</code>
- </p>
+ <code>&lt;%</code>→<code>{</code>
</li>
<li>
- <p>
- <code>%&gt;</code>→<code>}</code>
- </p>
+ <code>%&gt;</code>→<code>}</code>
</li>
<li>
- <p>
- <code>&lt;:</code>→<code>[</code>
- </p>
+ <code>&lt;:</code>→<code>[</code>
</li>
<li>
- <p>
- <code>:&gt;</code>→<code>]</code>
- </p>
+ <code>:&gt;</code>→<code>]</code>
</li>
<li>
- <p>
- <code>%:</code>→<code>#</code>
- </p>
+ <code>%:</code>→<code>#</code>
</li>
<li>
- <p>
- <code>%:%:</code>→<code>##</code>
- </p>
+ <code>%:%:</code>→<code>##</code>
</li>
</ul>
diff --git a/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html b/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html
index f66ae0b..25fb3bb 100644
--- a/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html
+++ b/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html
@@ -260,29 +260,20 @@ c
<h2><a href="#section--_まとめ">まとめ</a></h2>
<ul>
<li>
- <p>
- <code>if</code>や<code>case</code>の条件の後ろには<code>then</code>、<code>;</code>、改行のいずれかが必要
- </p>
-
+ <code>if</code>や<code>case</code>の条件の後ろには<code>then</code>、<code>;</code>、改行のいずれかが必要
<ul>
<li>
- <p>
- 通常は改行しておけばよい
- </p>
+ 通常は改行しておけばよい
</li>
</ul>
</li>
<li>
- <p>
- 3.0 で入る予定の<code>case</code>-<code>in</code>でも<code>then</code>等が必要になる
- </p>
+ 3.0 で入る予定の<code>case</code>-<code>in</code>でも<code>then</code>等が必要になる
</li>
<li>
- <p>
- Ruby の構文を正確に知るには (現状)<code>parse.y</code>を直接読めばよい
- </p>
+ Ruby の構文を正確に知るには (現状)<code>parse.y</code>を直接読めばよい
</li>
</ul>
</section>
diff --git a/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html b/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html
index f45df6b..0e1e296 100644
--- a/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html
+++ b/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html
@@ -74,21 +74,15 @@
<ul>
<li>
- <p>
- <code>BufRead</code>/<code>BufReadPost</code>
- </p>
+ <code>BufRead</code>/<code>BufReadPost</code>
</li>
<li>
- <p>
- <code>BufWrite</code>/<code>BufWritePre</code>
- </p>
+ <code>BufWrite</code>/<code>BufWritePre</code>
</li>
<li>
- <p>
- <code>BufAdd</code>/<code>BufCreate</code>
- </p>
+ <code>BufAdd</code>/<code>BufCreate</code>
</li>
</ul>
@@ -176,57 +170,37 @@ to |EncodingChanged|.</code></pre>
<ul>
<li>
- <p>
- <code>BufAdd</code>/<code>BufCreate</code>
- </p>
-
+ <code>BufAdd</code>/<code>BufCreate</code>
<ul>
<li>
- <p>
- →<code>BufCreate</code>は歴史的な理由により (<code>`for historic reasons&apos;&apos;) 存在しているため、新しい方 (`BufAdd</code>) を使う
- </p>
+ →<code>BufCreate</code>は歴史的な理由により (&quot;for historic reasons&quot;) 存在しているため、新しい方 (<code>BufAdd</code>) を使う
</li>
</ul>
</li>
<li>
- <p>
- <code>BufRead</code>/<code>BufReadPost</code>
- </p>
-
+ <code>BufRead</code>/<code>BufReadPost</code>
<ul>
<li>
- <p>
- →<code>BufReadPre</code>との対称性のため、あるいは<code>BufWritePost</code>との対称性のため<code>BufReadPost</code>を使う
- </p>
+ →<code>BufReadPre</code>との対称性のため、あるいは<code>BufWritePost</code>との対称性のため<code>BufReadPost</code>を使う
</li>
</ul>
</li>
<li>
- <p>
- <code>BufWrite</code>/<code>BufWritePre</code>
- </p>
-
+ <code>BufWrite</code>/<code>BufWritePre</code>
<ul>
<li>
- <p>
- →<code>BufWritePost</code>との対称性のため、あるいは<code>BufReadPre</code>との対称性のため<code>BufWritePre</code>を使う
- </p>
+ →<code>BufWritePost</code>との対称性のため、あるいは<code>BufReadPre</code>との対称性のため<code>BufWritePre</code>を使う
</li>
</ul>
</li>
<li>
- <p>
- <code>FileEncoding</code>/<code>EncodingChanged</code>
- </p>
-
+ <code>FileEncoding</code>/<code>EncodingChanged</code>
<ul>
<li>
- <p>
- →<code>FileEncoding</code>は<code>`Obsolete&apos;&apos; と明言されているので、`EncodingChanged</code>を使う
- </p>
+ →<code>FileEncoding</code>は<code>`Obsolete&apos;&apos; と明言されているので、`EncodingChanged</code>を使う
</li>
</ul>
</li>