Closed SimonBiggs closed 6 years ago
Don't overload the <code>
tag, instead search for code tags that have been created within python fences and swap those out for the relevant Angular component.
Achieved this by only selecting code.language-python to replace. All python fenced code gets replaced with the Angular component.
Complete.
Instead of overloading
<code>
create a<app-code>
and if a code tag appears within a section have it be replaced with a<app-code>
component.