1
0
Fork 0
mirror of https://github.com/MillironX/Kelpie.jl.git synced 2024-11-15 05:53:10 +00:00
Kelpie.jl/v0.1.0/search_index.js
2022-04-04 01:23:55 +00:00

3 lines
1.9 KiB
JavaScript

var documenterSearchIndex = {"docs":
[{"location":"","page":"Home","title":"Home","text":"CurrentModule = Kelpie","category":"page"},{"location":"#Kelpie","page":"Home","title":"Kelpie","text":"","category":"section"},{"location":"","page":"Home","title":"Home","text":"Documentation for Kelpie.","category":"page"},{"location":"","page":"Home","title":"Home","text":"","category":"page"},{"location":"","page":"Home","title":"Home","text":"Modules = [Kelpie]","category":"page"},{"location":"#Kelpie.html-Tuple{Any}","page":"Home","title":"Kelpie.html","text":"html(content)\n\nCreates a new HTML document filled with content.\n\n\n\n\n\n","category":"method"},{"location":"#Kelpie.html_element","page":"Home","title":"Kelpie.html_element","text":"html_element(name, content=nothing; kwargs...)\n\nCreates a new EzXML.Node with name name, containing content, and with attributes specified by kwargs.\n\nExample\n\njulia> import EzXML: prettyprint\n\njulia> prettyprint(html_element(\"img\"; src=\"https://millironx.com/images/charolette.jpg\"))\n<img src=\"https://millironx.com/images/charolette.jpg\"/>\n\njulia> prettyprint(html_element(\"span\", \"MillironX\"; class=\"label-primary\"))\n<span class=\"label-primary\">MillironX</span>\n\n\n\n\n\n","category":"function"},{"location":"#Kelpie.link_or_text!-Tuple{Any, Any}","page":"Home","title":"Kelpie.link_or_text!","text":"link_or_text!(node, content)\n\nConverts content to an EzXML.TextNode if it isn't already an EzXML.Node and links it to node. Will link all nodes in content if content is a vector.\n\njulia> import EzXML: ElementNode, prettyprint; import Kelpie: link_or_text!\n\njulia> prettyprint(link_or_text!(ElementNode(\"div\"), ElementNode(\"br\")))\n<div>\n <br/>\n</div>\n\njulia> prettyprint(link_or_text!(ElementNode(\"h1\"), \"Kelpie.jl\"))\n<h1>Kelpie.jl</h1>\n\njulia> prettyprint(link_or_text!(ElementNode(\"div\"), [\"The end\", ElementNode(\"hr\")]))\n<div>The end<hr/></div>\n\n\n\n\n\n","category":"method"}]
}