@peaceroad/markdown-it-figure-with-p-caption 0.10.0 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peaceroad/markdown-it-figure-with-p-caption",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "A markdown-it plugin. For a paragraph with only one image, a table or code block or blockquote, and by writing a caption paragraph immediately before or after, they are converted into the figure element with the figcaption element.",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -20,6 +20,6 @@
20
20
  "markdown-it-attrs": "^4.2.0"
21
21
  },
22
22
  "dependencies": {
23
- "p7d-markdown-it-p-captions": "^0.15.1"
23
+ "p7d-markdown-it-p-captions": "^0.15.2"
24
24
  }
25
25
  }
@@ -713,3 +713,31 @@ code
713
713
  <pre><code>code
714
714
  </code></pre>
715
715
  <p><img src="cat.jpg" alt="A caption."></p>
716
+
717
+
718
+ [Markdown]
719
+ リスト キャプション
720
+
721
+ ```
722
+ code
723
+ ```
724
+ [HTML]
725
+ <figure class="f-pre-code">
726
+ <figcaption><span class="f-pre-code-label">リスト</span> キャプション</figcaption>
727
+ <pre><code>code
728
+ </code></pre>
729
+ </figure>
730
+
731
+
732
+ [Markdown]
733
+ リスト キャプション
734
+
735
+ ```samp
736
+ >
737
+ ```
738
+ [HTML]
739
+ <figure class="f-pre-samp">
740
+ <figcaption><span class="f-pre-samp-label">リスト</span> キャプション</figcaption>
741
+ <pre><samp>&gt;
742
+ </samp></pre>
743
+ </figure>
package/test/test.js CHANGED
@@ -125,7 +125,7 @@ const runTest = (process, pat, pass, testId) => {
125
125
  while(n <= end) {
126
126
 
127
127
  if (!ms[n]
128
- //|| n != 24
128
+ //|| n != 43
129
129
  ) {
130
130
  n++
131
131
  continue