wazo-platform.org prettier config does not work with docusaurus admonitions

Description

Docusaurus admonitions provide a syntax beyond basic markdown to style a block of text content.
The current prettier formatter config does not understand this syntax and breaks the formatting of the page when admonitions are used.

prettier autoformatting cannot be used as it is if admonitions are used in a document.

Zendesk Ticket IDs

None

Activity

Show:

Charles Langlois March 24, 2025 at 8:55 PM

This is blocking my PR .

Charles Langlois March 24, 2025 at 8:53 PM

FYI. If you know a way to configure prettier to avoid this, would be nice.
The nuclear options otherwise is to avoid formatting markdown files with prettier, or forbid the use of admonitions( ).

Details

Priority

Assignee

Reporter

Zendesk Support

Created March 24, 2025 at 8:50 PM
Updated March 24, 2025 at 8:55 PM