Open akabekobeko opened 4 years ago
IMO, ...(print.png media="print")
is better. It is similar to special attribute annotation (#9).
![alt](main.png "title")(print.png media="print")
Because it is confusable that "title"
in first block is a title, but "print"
in second block is a media query. I feel giving its key name as media=
is explicit and easy to understand. I agree it is redundant for "markdown like" syntax...
私が提案したものですが、議論途中で止まっているため v2.0 へ見送ります。
記法としては @tk0miya さんの指摘にあるとおり、私の案だと title
と紛らわしいため属性を明示するほうがよさそうです。後続の source
にあたる括弧において
media
ぐらいしか指定されないのだから明示されないものは media
扱いするのか? ... @akabekobeko 案media
などの属性を明示するか? ... @tk0miya さんの指摘が課題となるでしょう。
Goals
A mechanism for changing an image by an output medium is provided. This is converted to an HTML
<picture>
element.<picture>
: The Picture element - HTML: Hypertext Markup Language | MDNMarkdown:
HTML:
Prior Art
I searched for CommonMark, GFM and remark but couldn't find them.
Discussion
Careful discussion is needed because no prominent precedent has been found.
<figure>
container.