diff --git a/dev/index.html b/dev/index.html index b852a83..75000cd 100644 --- a/dev/index.html +++ b/dev/index.html @@ -1,11 +1,11 @@ -Home · Kelpie.jl

Kelpie

Documentation for Kelpie.

Kelpie.htmlMethod
html(content)

Creates a new HTML document filled with content.

source
Kelpie.html_elementFunction
html_element(name, content=nothing; kwargs...)

Creates a new EzXML.Node with name name, containing content, and with attributes specified by kwargs.

Example

julia> import EzXML: prettyprint
+Home · Kelpie.jl

<!– markdownlint-disable first-line-heading –>

Kelpie

Documentation for Kelpie.

Kelpie.htmlMethod
html(content)

Creates a new HTML document filled with content.

source
Kelpie.html_elementFunction
html_element(name, content=nothing; kwargs...)

Creates a new EzXML.Node with name name, containing content, and with attributes specified by kwargs.

Example

julia> import EzXML: prettyprint
 
 julia> prettyprint(html_element("img"; src="https://millironx.com/images/charolette.jpg"))
 <img src="https://millironx.com/images/charolette.jpg"/>
 
 julia> prettyprint(html_element("span", "MillironX"; class="label-primary"))
-<span class="label-primary">MillironX</span>
source
Kelpie.link_or_text!Method
link_or_text!(node, content)

Converts 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.

julia> import EzXML: ElementNode, prettyprint; import Kelpie: link_or_text!
+<span class="label-primary">MillironX</span>
source
Kelpie.link_or_text!Method
link_or_text!(node, content)

Converts 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.

julia> import EzXML: ElementNode, prettyprint; import Kelpie: link_or_text!
 
 julia> prettyprint(link_or_text!(ElementNode("div"), ElementNode("br")))
 <div>
@@ -16,4 +16,4 @@ julia> prettyprint(link_or_text!(ElementNode("h1"), "Kelpie.jl
 <h1>Kelpie.jl</h1>
 
 julia> prettyprint(link_or_text!(ElementNode("div"), ["The end", ElementNode("hr")]))
-<div>The end<hr/></div>
source
+<div>The end<hr/></div>
source
diff --git a/dev/search/index.html b/dev/search/index.html index 58ce16a..17730d8 100644 --- a/dev/search/index.html +++ b/dev/search/index.html @@ -1,2 +1,2 @@ -Search · Kelpie.jl

Loading search...

    +Search · Kelpie.jl

    Loading search...

      diff --git a/dev/search_index.js b/dev/search_index.js index d4a199b..5f5c743 100644 --- a/dev/search_index.js +++ b/dev/search_index.js @@ -1,3 +1,3 @@ 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\n\njulia> prettyprint(html_element(\"span\", \"MillironX\"; class=\"label-primary\"))\nMillironX\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
      \n
      \n
      \n\njulia> prettyprint(link_or_text!(ElementNode(\"h1\"), \"Kelpie.jl\"))\n

      Kelpie.jl

      \n\njulia> prettyprint(link_or_text!(ElementNode(\"div\"), [\"The end\", ElementNode(\"hr\")]))\n
      The end
      \n\n\n\n\n\n","category":"method"}] +[{"location":"","page":"Home","title":"Home","text":"","category":"page"},{"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\n\njulia> prettyprint(html_element(\"span\", \"MillironX\"; class=\"label-primary\"))\nMillironX\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
      \n
      \n
      \n\njulia> prettyprint(link_or_text!(ElementNode(\"h1\"), \"Kelpie.jl\"))\n

      Kelpie.jl

      \n\njulia> prettyprint(link_or_text!(ElementNode(\"div\"), [\"The end\", ElementNode(\"hr\")]))\n
      The end
      \n\n\n\n\n\n","category":"method"}] }