Skip to content

Releases: dealfonso/showsource

1.2.1

14 Sep 18:04
65ab422
Compare
Choose a tag to compare

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

14 Sep 14:01
c0fe71c
Compare
Choose a tag to compare

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

05 Sep 23:02
Compare
Choose a tag to compare
  • enable declarative method for new attributes
  • enable the default attributes to be configurable via showsource.defaults
  • update doc

1.1.0

05 Sep 15:41
Compare
Choose a tag to compare
  • add a limit of number of tags in a row
  • add a limit of the number of characters in a row
  • enable the separation of attributes based on regular expressions

1.0.0

01 Sep 23:11
Compare
Choose a tag to compare

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.