Releases: dealfonso/showsource
Releases · dealfonso/showsource
1.2.1
What's Changed
- rename init method to show and enable custom selector by @dealfonso in #3
Full Changelog: 1.2.0...1.2.1
1.2.0
What's Changed
- rename the beautify method to better capture the task by @dealfonso in #1
- remove the remove option and add the hide selector and skip selector by @dealfonso in #2
Full Changelog: 1.1.1...1.2.0
1.1.1
1.1.0
1.0.0
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.