Skip to content

Commit fed04c5

Browse files
myakuraCopilot
andcommitted
README の出力例を実際の出力に合わせて修正
- 見出しの id 属性を削除(marked v17 ではヘッダーIDが生成されない) - note/column/imgbox の出力例の見出しレベルを h1 から h4 に修正 - imgbox の出力要素を div から figure に修正 - コードブロックのクラスを lang-html から language-html に修正 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 154f841 commit fed04c5

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ CGMD拡張ブロックは、互いにネストできません。
6565
6666
```html
6767
<div class="Note">
68-
<h1 id="-">注釈タイトル</h1>
68+
<h4>注釈タイトル</h4>
6969
<p>注釈本文</p>
7070
</div>
7171
```
@@ -86,7 +86,7 @@ CGMD拡張ブロックは、互いにネストできません。
8686
8787
```html
8888
<div class="Column">
89-
<h1 id="-">コラムタイトル</h1>
89+
<h4>コラムタイトル</h4>
9090
<p>コラム本文</p>
9191
</div>
9292
```
@@ -150,7 +150,7 @@ CGMD拡張ブロックは、互いにネストできません。
150150
151151
### imgbox
152152
153-
`.ImgBox``<figure>`に変換し、タイトル、画像とキャプションをひとまとまりに表示します。
153+
`<figure class="ImgBox">`に変換し、タイトル、画像とキャプションをひとまとまりに表示します。
154154
155155
```
156156
[imgbox]
@@ -164,11 +164,11 @@ CGMD拡張ブロックは、互いにネストできません。
164164
165165
166166
```html
167-
<div class="ImgBox">
168-
<h1 id="-">画像title</h1>
167+
<figure class="ImgBox">
168+
<h4>画像タイトル</h4>
169169
<p>画像の説明</p>
170170
<p><img src="http://example.com/image.png" alt="画像alt"></p>
171-
</div>
171+
</figure>
172172
```
173173
174174
### tree
@@ -242,7 +242,7 @@ GFMのコードブロックで、Syntaxに続けて`#コードのタイトル`
242242
<div class="CG2-livecode__label">素敵なdiv</div>
243243
</header>
244244
<div class="CG2-livecode__body">
245-
<pre><code class="lang-html">
245+
<pre><code class="language-html">
246246
&lt;div&gt;&lt;/div&gt;
247247
</code></pre>
248248
</div>

0 commit comments

Comments
 (0)