question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow the user to configure the safe mode

See original GitHub issue

I 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:closed
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ahus1commented, Oct 16, 2019

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.

1reaction
ahus1commented, Oct 13, 2019

“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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found