Skip to content

1.0.0

Choose a tag to compare

@dealfonso dealfonso released this 01 Sep 23:11
· 12 commits to main since this release

This library enables to extract HTML code from the current HTML document and to add it to the current document in the form of source code.

The library is helpful for showing the source code of the current HTML document, and its origin was to ease the creation of web pages for examples of HTML and CSS fragments. My problem was that I wanted to show the example and the code that generated it, but I did not want to maintain two separate code fragments. This library solves this problem by extracting the HTML code from an element from the current document and adding it to the document in the form of source code.