Skip to content

Commit af92049

Browse files
committed
Document Page.Markup
1 parent 2f793d3 commit af92049

File tree

1 file changed

+68
-0
lines changed

1 file changed

+68
-0
lines changed

content/en/methods/page/Markup.md

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
---
2+
title: Markup
3+
description: # TODO
4+
categories: []
5+
keywords: []
6+
action:
7+
related: []
8+
returnType: # TODO
9+
signatures: [PAGE.Markup]
10+
---
11+
12+
<!-- TODO -->
13+
14+
<!-- JMM It is unclear to me if things like .Page.CountWords will be deprecated in favor of .Page.Markup.CountWords. Three levels (Page, Markup, Countwords) is a bit of a pain to document with the current docs theme. -->
15+
16+
## Methods
17+
18+
###### CountWords
19+
(`int`) <!-- TODO -->
20+
21+
###### CountWordsFuzzy
22+
(`int`) <!-- TODO -->
23+
24+
###### Fragments
25+
(`tableofcontents.Fragments`) <!-- TODO -->
26+
27+
###### FragmentsHTML
28+
(`template.HTML`) <!-- TODO -->
29+
30+
###### HasShortcode
31+
(`bool`) <!-- TODO -->
32+
33+
###### Len
34+
(`int`) <!-- TODO -->
35+
36+
###### Plain
37+
(`string`) <!-- TODO -->
38+
39+
###### PlainWords
40+
(`string array`) <!-- TODO -->
41+
42+
###### ReadingTime
43+
(`int`) <!-- TODO -->
44+
45+
###### Render
46+
(`any`) <!-- TODO -->
47+
48+
###### RenderShortcodes
49+
(`template.HTM`) <!-- TODO -->
50+
51+
###### RenderString
52+
(`template.HTM`) <!-- TODO -->
53+
54+
###### Summary
55+
(`template.HTML`) <!-- TODO -->
56+
57+
## Example
58+
59+
<!-- TODO -->
60+
61+
```go-html-template
62+
{{ range .Pages }}
63+
{{ with .Markup }}
64+
{{ .Countwords }}
65+
{{ .Render }}
66+
{{ end }}
67+
{{ end }}
68+
```

0 commit comments

Comments
 (0)