(Auto)EmbedLiveSample is not working correctly
See original GitHub issueSee also https://github.com/mdn/content/pull/10758.
It seems that if a page has a structure like this:
## A heading
{{EmbedLiveSample}}
### HTML
(the HTML code block)
### JavaScript
(the JS code block)
…then the code blocks aren’t found. But they should be, according to the spec (https://github.com/mdn/content/discussions/5803#discussioncomment-842706), because they are in the same section as the {{EmbedLiveSample}}
call. Perhaps the implementation isn’t looking in subsections of the current section?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
[Markdown] Decide how to represent live samples · Issue #3548
In this system we add the EmbedLiveSample macro to a page. ... The problem is that Markdown doesn't support id attributes or <div>...
Read more >Where to find help if i need technical assistance for a l10n?
The problem in this case is that the first argument of EmbedLiveSample needs to be the id of the section heading of the...
Read more >Fix HTML Video Autoplay Not Working - PQINA
You've added a video tag to your website, set the video source, but it won't autoplay. Let's fix it.
Read more >translated-content/index.md at main
`sentences`: Automatically capitalize the first letter of sentences. ... If the **autocomplete** attribute is not specified on an textarea element, ...
Read more >-moz-force-broken-image-icon — css | ВебДоки - WebDoky
Не стандартизовано: Це — нестандартний функціонал, і стандартизувати його ніхто не планує. Його не слід використовувати на вебсайтах у відкритому вебі, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Except for the two that are referenced in https://github.com/mdn/content/pull/10758#issue-1062998747 ?
https://developer.mozilla.org/en-US/docs/web/html/element/input/date#examples https://developer.mozilla.org/en-US/docs/web/html/element/input/month#examples
Still as I said above:
The issue exists. Following code
throws error:
This is a very low severity issue as no page at the moment starts with a live sample in level two
## intro
section.