Right now updating markdown works for the markdown and src attributes—when these are updated, the markdown will change to reflect that. However, if the <script> tag is changed, nothing happens. Ideally it would be possible to update the markdown that way too.
An alternate solution is getting rid of the script tag and instead just grabbing everything inside <markdown-element> and treating it as markdown.
Right now updating markdown works for the
markdown
andsrc
attributes—when these are updated, the markdown will change to reflect that. However, if the<script>
tag is changed, nothing happens. Ideally it would be possible to update the markdown that way too.An alternate solution is getting rid of the script tag and instead just grabbing everything inside
<markdown-element>
and treating it as markdown.