diff options
| author | Sarah White <graphitefriction@gmail.com> | 2020-11-19 15:45:59 -0700 |
|---|---|---|
| committer | Sarah White <graphitefriction@gmail.com> | 2020-12-08 14:32:53 -0700 |
| commit | 64ec52d2dacb0ff9c5e54ff47bc35f56a67b18ea (patch) | |
| tree | 65bbc0d8d0d20350db63961a3b2e9b6b4f148a75 /docs/modules/api | |
| parent | a0861ee354c26ab4480835c5f03ff16e7016ce61 (diff) | |
create integration modules; update stylesheet pages
Diffstat (limited to 'docs/modules/api')
| -rw-r--r-- | docs/modules/api/pages/set-safe-mode.adoc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/modules/api/pages/set-safe-mode.adoc b/docs/modules/api/pages/set-safe-mode.adoc index dcf13af6..8ff65b5d 100644 --- a/docs/modules/api/pages/set-safe-mode.adoc +++ b/docs/modules/api/pages/set-safe-mode.adoc @@ -3,6 +3,9 @@ The default xref:ROOT:safe-modes.adoc[safe mode] in the API is `SECURE`. You can change the safe mode using a string, symbol or integer value. + +== Set :safe option + The value must be set in the document constructor using the `:safe` option. result = Asciidoctor.convert_file('master.adoc', :safe => 'server') @@ -15,4 +18,4 @@ or result = Asciidoctor.convert_file('master.adoc', :safe => 10) -You can also set the xref:cli:set-safe-mode.adoc[safe mode from the CLI] and xref:ROOT:attributes-and-safe-modes.adoc[manage attributes by safe mode]. +You can also set the xref:cli:set-safe-mode.adoc[safe mode from the CLI] and xref:ROOT:reference-safe-mode.adoc[enable or disable content based on the current safe mode]. |
