summaryrefslogtreecommitdiffstats
path: root/docs/content/en/functions/RenderString.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/functions/RenderString.md')
-rw-r--r--docs/content/en/functions/RenderString.md35
1 files changed, 0 insertions, 35 deletions
diff --git a/docs/content/en/functions/RenderString.md b/docs/content/en/functions/RenderString.md
deleted file mode 100644
index 91414d6a0..000000000
--- a/docs/content/en/functions/RenderString.md
+++ /dev/null
@@ -1,35 +0,0 @@
----
-title: .RenderString
-description: Renders markup to HTML.
-categories: [functions]
-keywords: []
-menu:
- docs:
- parent: functions
-function:
- aliases: []
- returnType: template.HTML
- signatures: ['.RenderString MARKUP [OPTIONS]']
----
-
-`.RenderString` is a method on `Page` that renders some markup to HTML using the content renderer defined for that page (if not set in the options).
-
-The method takes an optional map argument with these options:
-
-display ("inline")
-: `inline` or `block`. If `inline` (default), surrounding `<p></p>` on short snippets will be trimmed.
-
-markup (defaults to the Page's markup)
-: See identifiers in [List of content formats](/content-management/formats/#list-of-content-formats).
-
-Some examples:
-
-```go-html-template
-{{ $optBlock := dict "display" "block" }}
-{{ $optOrg := dict "markup" "org" }}
-{{ "**Bold Markdown**" | $p.RenderString }}
-{{ "**Bold Block Markdown**" | $p.RenderString $optBlock }}
-{{ "/italic org mode/" | $p.RenderString $optOrg }}
-```
-
-{{< new-in "0.93.0" >}} **Note**: [markdownify](/functions/transform/markdownify) uses this function in order to support [Render Hooks](/getting-started/configuration-markup/#markdown-render-hooks).