Documentation ¶
Index ¶
Constants ¶
View Source
const ( FencedCodeBlockLanguageHcl = "hcl" FencedCodeBlockLanguageMissing = "MISSING" FencedCodeBlockLanguageTerraform = "terraform" )
Variables ¶
This section is empty.
Functions ¶
func FencedCodeBlockLanguage ¶
func FencedCodeBlockLanguage(fcb *ast.FencedCodeBlock, source []byte) string
FencedCodeBlockLanguage returns the language or "MISSING"
func FencedCodeBlockText ¶
func FencedCodeBlockText(fcb *ast.FencedCodeBlock, source []byte) string
FencedCodeBlockText returns the text
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.