prettier-plugin-mmd 0.2.0 → 0.4.0

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/README.ja.md CHANGED
@@ -218,6 +218,12 @@ flowchart LR
218
218
  [Data blocks](./docs/eventmodeling.ja.md#data-blocks) の規則で、
219
219
  ASCII 空白の margin を限定的に変更します。
220
220
  描画を保ちながら、raw Db 値が変わる場合があります。
221
+ - `end note` で閉じる state ノートの単一の段落は、
222
+ [ノート](./docs/state.ja.md#ノート)の限定規則に従います。
223
+ 行内の強調やコードの表記を含む行も対象です。
224
+ 描画を保ちながら、
225
+ `notes[].text` の行頭の ASCII 空白だけが変わる場合があります。
226
+ 余白が表示に影響するほかの本文は、後続の余白を原文のまま保ちます。
221
227
  - 整形した図をもう一度整形しても、何も変わりません。
222
228
  - ディレクティブ、不透明な `@{ ... }` のデータブロック、
223
229
  フロントマターの中身は検査しません。
package/README.md CHANGED
@@ -175,6 +175,11 @@ flowchart LR
175
175
  [Data blocks](./docs/eventmodeling.md#data-blocks) rule permits a restricted
176
176
  ASCII space margin adjustment. This can change raw Db values while preserving
177
177
  the rendered diagram.
178
+ - Single paragraphs in state notes closed by `end note` follow the restricted
179
+ [Notes](./docs/state.md#notes) rule, including lines with inline emphasis and
180
+ code notation. Only leading ASCII spaces may change in `notes[].text`, while
181
+ the rendered diagram stays the same. Other margin-sensitive bodies keep their
182
+ later margins as written.
178
183
  - Formatting a formatted diagram again changes nothing.
179
184
  - The content of directives, of opaque `@{ ... }` data blocks, and of the
180
185
  frontmatter is not checked. A diagram that mermaid.js rejects because of that