Allow the user to configure the safe mode
See original GitHub issueI think we should allow the user to configure the safe mode: https://asciidoctor.org/docs/user-manual/#running-asciidoctor-securely
Currently the value is unsafe according to the value printed when using the attribute {safe-mode-name} in a document.
{safe-mode-name}
AsciiDoc Plugin Version: 0.30.7
IntelliJ IDEA 2019.2.3 (Ultimate Edition)
Build #IU-192.6817.14, built on September 24, 2019
Runtime version: 11.0.4+10-b304.69 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.15.0-58-generic
GC: ParNew, ConcurrentMarkSweep
Memory: 1981M
Cores: 8
Registry:
Non-Bundled Plugins: Batch Scripts Support, CMD Support, CheckStyle-IDEA, FindBugs-IDEA, JFormDesigner, PsiViewer, org.asciidoctor.intellij.asciidoc, org.jetbrains.idea.grammar, org.jetbrains.plugins.slim, BashSupport, com.dmarcotte.handlebars, com.jetbrains.lang.ejs, com.jetbrains.plugins.jade, com.wix.eslint, org.intellij.scala, org.jetbrains.plugins.ruby
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Start your PC in safe mode in Windows - Microsoft Support
Find out how to boot into safe mode in Windows from Settings, the sign-in screen, and a black or blank screen.
Read more >How to start Windows 10 in Safe Mode - Driver Easy
Start Safe Mode by pressing F8 at startup · Start Safe Mode by turning off your PC 3 times · Start Safe Mode...
Read more >How to start Windows 10 in Safe Mode and then exit later
Using the Power icon · 1. Click the Windows icon in the bottom-left corner. · 2. Hold down the Shift key, click the...
Read more >How to start Windows 10 in Safe Mode (9 ways) - Digital Citizen
Go to “Advanced options -> Startup Settings -> Restart.” Then, press 4 or F4 on your keyboard to start in Safe Mode, press...
Read more >How to Boot into Safe Mode in Windows 11 or Windows 10 - Dell
The computer restarts and enters the Startup Settings menu. Select 4 or F4 to start the computer in Safe Mode. If you must...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

A new pre-release 0.30.10 of this plugin includes this feature. The preview is available from GitHub releases and the IntelliJ AsciiDoc EAP repository.
“unsafe” is the default when running Asciidoctor CLI from the command line. As in documentation-as-code environments developers would check out a repository and then build the docs locally, it is safe to assume that the “unsafe” mode from the command line is the right default.
Having said that the user should be able to configure this in the settings of the plugin.