yfm-transform
yfm-transform copied to clipboard
Simple transformer YFM (Yandex Flavored Markdown) to HTML.
We currently use `` tags for collapsible content sections. ```html Cut header Content displayed when clicked. ``` I propose refactoring these to use HTML's [``](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details) tag to enhance accessibility, usability,...
Cuts final html doesn't have role and state Looks like we need [expanded](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded) state and some relevant role.
Can you please update the markdown-it and the related plugins to the latest versions?
Fixes #393
For example markup: ``` #| || a | `b|c` || |# ``` Expected: Actual:
In some cases we need to render markdown that suitable for displaying as one-liner -- without images, paragraphs, list and etc. `markdown-it` has method to achieve this [`renderInline`](https://markdown-it.github.io/markdown-it/#MarkdownIt.renderInline), it would...
We need to add relevant role to term popup. Also we need to mark term as [live region](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Live_Regions)