diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2021-10-18 15:08:10 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2021-10-18 15:12:54 -0600 |
| commit | 87be17209d5b443882cc1b1a8ea590db651c8058 (patch) | |
| tree | cc963175b7b366d748241370551f061b7cef37af /docs/modules/api | |
| parent | 45525906421d99b11d8dde4209dafd28c800a543 (diff) | |
rename default branch
Diffstat (limited to 'docs/modules/api')
| -rw-r--r-- | docs/modules/api/pages/set-safe-mode.adoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/modules/api/pages/set-safe-mode.adoc b/docs/modules/api/pages/set-safe-mode.adoc index eca166a3..5548f24c 100644 --- a/docs/modules/api/pages/set-safe-mode.adoc +++ b/docs/modules/api/pages/set-safe-mode.adoc @@ -8,14 +8,14 @@ You can change the safe mode using a string, symbol or integer value. The value must be set in the document constructor using the `:safe` option. - result = Asciidoctor.convert_file('master.adoc', safe: 'server') + result = Asciidoctor.convert_file 'doc.adoc', safe: 'server' or - result = Asciidoctor.convert_file('master.adoc', safe: :server) + result = Asciidoctor.convert_file 'doc.adoc', safe: :server or - result = Asciidoctor.convert_file('master.adoc', safe: 10) + result = Asciidoctor.convert_file 'doc.adoc', safe: 10 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]. |
