Embed with :type=code replacing entire page when other embeds are present
See original GitHub issueBug Report
(potentially related to #791 and #866 or #970)
Steps to reproduce
Include a file as a .html
and then as a code block, i.e.
[embed](embed.html ':include')
[source](embed.html ':include :type=code :fragment=demo')
Tested in Chrome, Firefox and Edge
What is current behaviour
The code block overwrites the page content (after a short delay).
The order of embedding does not matter, and even if the linked files are different this will happen.
If either block is removed there is no issue, and it seems unrelated to the fragment nor highlight type.
What is the expected behaviour
Multiple embed blocks remain visible.
Other relevant information
-
Bug does still occur when all/other plugins are disabled?
-
Your OS: Windows 10 x64
-
Browser version: Chrome 80.0.3987.132
-
Docsify version: latest (4.11.2)
-
Docsify plugins: None
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Use IFRAME and web resource controls on a form
IFRAME and web resource controls embed content from another location in pages by using an HTML IFRAME element.
Read more >Replace youtube link with embed and leave other text unharmed
However, my current code is replacing the entire sentence with the embed code. What I want to do is to just convert the...
Read more >9 Different Ways to Embed Code in Medium | by Abhay Parashar
9 Different Ways to Embed Code in Medium · 1. Inline Code · 2. Embedded Code Directly on Medium · 3. Github Gists...
Read more >Embed codes - Adobe Support
The embed code is how the web fonts are loaded into your website in the browser or into an HTML email in the...
Read more >These Pro Carl-bot Embed Tips will Improve Your Discord
Learn how to copy and edit embeds, create clickable text that redirects to a website, tag channels, roles, and users, and more.
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
we do have a issue with multiple embedding!
I need to look in it !
Feel free to investigate and submit the fix
I am having a similar issue. Not with type=code, but just with multiple embeds. The entire page gets replaced with one of the embeds, until I do a browser refresh.