asciidoctor-intellij-plugin | AsciiDoc plugin for products on the IntelliJ platform
kandi X-RAY | asciidoctor-intellij-plugin Summary
kandi X-RAY | asciidoctor-intellij-plugin Summary
A plugin for the IntelliJ platform (IntelliJ IDEA, RubyMine, etc.) that provides support for the AsciiDoc markup language. It also supports Antora, the documentation CMS build with AsciiDoc. To contribute as a developer, some issues are labeled with “good first issue”. Maintainers are willing to help. For more advanced topics, see tickets marked as “help wanted”. Feel free to choose these or any other ticket to participate, or create pull requests without a prior ticket.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Performs an action on the pdoc
- Downloads Ascii document
- Create a temporary folder to render images
- Gets the pndoc file
- Sets the html
- Wrap the HTML in html
- Prepares the given HTML and returns the image
- Finds a temporary file in the images directory
- Called when a character is removed
- Save image
- Generate AsciiDoc annotations
- Executes the PsiElement
- Binds another element to another element
- Performs an action on the Asciido editor
- List references to this element
- Returns the placeholder text for the given AST node
- Select the elements of a Psi element
- Registers reference providers for the given element
- Reads the content of the statement
- Gets the references to this file
- Returns an AsciiDocVisitor with the given parameters
- Registers the browsers
- Set html content
- Send resource to preview
- Process preprocessor
- Create an Asciidoctor
asciidoctor-intellij-plugin Key Features
asciidoctor-intellij-plugin Examples and Code Snippets
Community Discussions
Trending Discussions on asciidoctor-intellij-plugin
QUESTION
Documenting rest api using spring-restdocs in InteliJ Idea is fine, but I missing rendered "include" snippets of operation macro.
...ANSWER
Answered 2019-Aug-05 at 12:53I've had a look at spring-restdocs-asciidoctor. The operation::[]
is an extension that renders the content. It relies on an attribute snippets
that needs to be set.
The IntelliJ plugin for AsciiDoc supports both ruby extensions and attributes for previews as experimental options.
To make it work I did the following:
- checkout the project
- running
gradlew asciidoctor
to generate the snippets - add a file
.asciidoctorconfig
to set the path to the generated snippets - add a directory
.asciidoctor
and place the extension in this directory - confirm the warning message "This project contains Asciidoctor Extensions..." in the IDE
You need to confirm the warning message every time you restart your IDE. As it will run Ruby code locally, this is a security issue. Maybe we'll enhance it in the future so you only need to reconfirm it once the extension's code changes.
The changes are on the following branch: https://github.com/ahus1/spring-restdocs/tree/poc_extension_intellij
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install asciidoctor-intellij-plugin
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page