Highlight Parts

Use the plugin to bring attention to a certain place in a file. Comma-separated paths specified inside will be highlighted. tagName ul attributes name class value "menu" children tagName li attributes name class value "menu-item" children tagName text Menu 1 tagName li attributes name class value "menu-item" children tagName text Menu 2 tagName li attributes name class value "menu-item" children tagName text Menu 3 Note: Children index in starts with 0 and is associated with a tag tagName root attributes children tagName a attributes children tagName text text 1 tagName a attributes children tagName text text 2 tagName b attributes children tagName text text 3 tagName c attributes children tagName text text 4 tagName c attributes children tagName text text 5 include-xml XML paths :include-xml: menu.html {paths: ["ul.@class", "ul.li[1].@class", "ul.li[2]"]} paths :include-xml: simple.xml {paths: ["root.a[1]", "root.b[0]", "root.c[0]"]}

Use Cases

and can be used to document: XML Config CSS selectors ReactJS properties AngularJS templates In presentation mode, paths will be highlighted one at a time. include-xml paths

Title

Use the property to specify a title. tagName ul attributes name class value "menu" children tagName li attributes name class value "menu-item" children tagName text Menu 1 tagName li attributes name class value "menu-item" children tagName text Menu 2 tagName li attributes name class value "menu-item" children tagName text Menu 3 title :include-xml: menu.html {title: "Menu snippet"}