mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-15 16:27:32 -04:00
content: Miscellaneous edits
This commit is contained in:
parent
51aa1ae73a
commit
7217f64b67
@ -1,16 +1,20 @@
|
||||
---
|
||||
title: diagrams.Goat
|
||||
description: Converts ASCII art to an SVG diagram, returning a GoAT diagram object.
|
||||
description: Returns an SVGDiagram object created from the given GoAT markup and options.
|
||||
categories: []
|
||||
keywords: []
|
||||
params:
|
||||
functions_and_methods:
|
||||
aliases: []
|
||||
returnType: diagrams.goatDiagram
|
||||
signatures: ['diagrams.Goat INPUT']
|
||||
returnType: diagrams.SVGDiagram
|
||||
signatures: [diagrams.Goat MARKUP]
|
||||
---
|
||||
|
||||
Useful in a [code block render hook], the `diagram.Goat` function converts ASCII art to an SVG diagram, returning a [GoAT] diagram object with the following methods:
|
||||
Useful in a [code block render hook], the `diagrams.Goat` function returns an SVGDiagram object created from the given [GoAT] markup.
|
||||
|
||||
## Methods
|
||||
|
||||
The SVGDiagram object has the following methods:
|
||||
|
||||
Inner
|
||||
: (`template.HTML`) Returns the SVG child elements without a wrapping `svg` element, allowing you to create your own wrapper.
|
||||
|
Loading…
x
Reference in New Issue
Block a user