<htmllang="en"><head><metacharset="UTF-8"/><metaname="viewport"content="width=device-width, initial-scale=1.0"/><title>Home · Kelpie.jl</title><scriptdata-outdated-warnersrc="assets/warner.js"></script><linkrel="canonical"href="https://MillironX.github.io/Kelpie.jl/"/><linkhref="https://cdnjs.cloudflare.com/ajax/libs/lato-font/3.0.0/css/lato-font.min.css"rel="stylesheet"type="text/css"/><linkhref="https://cdnjs.cloudflare.com/ajax/libs/juliamono/0.039/juliamono-regular.css"rel="stylesheet"type="text/css"/><linkhref="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/fontawesome.min.css"rel="stylesheet"type="text/css"/><linkhref="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/solid.min.css"rel="stylesheet"type="text/css"/><linkhref="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/brands.min.css"rel="stylesheet"type="text/css"/><linkhref="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.13.11/katex.min.css"rel="stylesheet"type="text/css"/><script>documenterBaseURL="."</script><scriptsrc="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js"data-main="assets/documenter.js"></script><scriptsrc="siteinfo.js"></script><scriptsrc="../versions.js"></script><linkclass="docs-theme-link"rel="stylesheet"type="text/css"href="assets/themes/documenter-dark.css"data-theme-name="documenter-dark"data-theme-primary-dark/><linkclass="docs-theme-link"rel="stylesheet"type="text/css"href="assets/themes/documenter-light.css"data-theme-name="documenter-light"data-theme-primary/><scriptsrc="assets/themeswap.js"></script></head><body><divid="documenter"><navclass="docs-sidebar"><divclass="docs-package-name"><spanclass="docs-autofit"><ahref>Kelpie.jl</a></span></div><formclass="docs-search"action="search/"><inputclass="docs-search-query"id="documenter-search-query"name="q"type="text"placeholder="Search docs"/></form><ulclass="docs-menu"><liclass="is-active"><aclass="tocitem"href>Home</a></li></ul><divclass="docs-version-selector field has-addons"><divclass="control"><spanclass="docs-label button is-static is-size-7">Version</span></div><divclass="docs-selector control is-expanded"><divclass="select is-fullwidth is-size-7"><selectid="documenter-version-selector"></select></div></div></div></nav><divclass="docs-main"><headerclass="docs-navbar"><navclass="breadcrumb"><ulclass="is-hidden-mobile"><liclass="is-active"><ahref>Home</a></li></ul><ulclass="is-hidden-tablet"><liclass="is-active"><ahref>Home</a></li></ul></nav><divclass="docs-right"><aclass="docs-edit-link"href="https://github.com/MillironX/Kelpie.jl/blob/master/docs/src/index.md#"title="Edit on GitHub"><spanclass="docs-icon fab"></span><spanclass="docs-label is-hidden-touch">Edit on GitHub</span></a><aclass="docs-settings-button fas fa-cog"id="documenter-settings-button"href="#"title="Settings"></a><aclass="docs-sidebar-button fa fa-bars is-hidden-desktop"id="documenter-sidebar-button"href="#"></a></div></header><articleclass="content"id="documenter-page"><h1id="Kelpie"><aclass="docs-heading-anchor"href="#Kelpie">Kelpie</a><aid="Kelpie-1"></a><aclass="docs-heading-anchor-permalink"href="#Kelpie"title="Permalink"></a></h1><p>Documentation for <ahref="https://github.com/MillironX/Kelpie.jl">Kelpie</a>.</p><ul><li><ahref="#Kelpie.html-Tuple{Any}"><code>Kelpie.html</code></a></li><li><ahref="#Kelpie.html_element"><code>Kelpie.html_element</code></a></li><li><ahref="#Kelpie.link_or_text!-Tuple{Any, Any}"><code>Kelpie.link_or_text!</code></a></li></ul><articleclass="docstring"><header><aclass="docstring-binding"id="Kelpie.html-Tuple{Any}"href="#Kelpie.html-Tuple{Any}"><code>Kelpie.html</code></a> — <spanclass="docstring-category">Method</span></header><section><div><pre><codeclass="language-julia hljs">html(content)</code></pre><p>Creates a new HTML document filled with <code>content</code>.</p></div><aclass="docs-sourcelink"target="_blank"href="https://github.com/MillironX/Kelpie.jl/blob/de3bc3df183e80e0f590135191b2403396a22f
<span class="label-primary">MillironX</span></code></pre></div><aclass="docs-sourcelink"target="_blank"href="https://github.com/MillironX/Kelpie.jl/blob/de3bc3df183e80e0f590135191b2403396a22f15/src/Kelpie.jl#L102-L119">source</a></section></article><articleclass="docstring"><header><aclass="docstring-binding"id="Kelpie.link_or_text!-Tuple{Any, Any}"href="#Kelpie.link_or_text!-Tuple{Any, Any}"><code>Kelpie.link_or_text!</code></a> — <spanclass="docstring-category">Method</span></header><section><div><pre><codeclass="language-julia hljs">link_or_text!(node, content)</code></pre><p>Converts <code>content</code> to an <code>EzXML.TextNode</code> if it isn't already an <code>EzXML.Node</code> and links it to <code>node</code>. Will link all nodes in <code>content</code> if content is a vector.</p><pre><codeclass="language-julia-repl hljs">julia> import EzXML: ElementNode, prettyprint; import Kelpie: link_or_text!
<div>The end<hr/></div></code></pre></div><aclass="docs-sourcelink"target="_blank"href="https://github.com/MillironX/Kelpie.jl/blob/de3bc3df183e80e0f590135191b2403396a22f15/src/Kelpie.jl#L63-L83">source</a></section></article></article><navclass="docs-footer"><pclass="footer-message">Powered by <ahref="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <ahref="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><divclass="modal"id="documenter-settings"><divclass="modal-background"></div><divclass="modal-card"><headerclass="modal-card-head"><pclass="modal-card-title">Settings</p><buttonclass="delete"></button></header><sectionclass="modal-card-body"><p><labelclass="label">Theme</label><divclass="select"><selectid="documenter-themepicker"><optionvalue="documenter-light">documenter-light</option><optionvalue="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <ahref="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 0.27.15 on <spanclass="colophon-date"title="Friday 1 April 2022 00:54">Friday 1 April 2022</span>. Using Julia version 1.7.2.</p></section><footerclass="modal-card-foot"></footer></div></div></div></body></html>