-
-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multi-line attributes support with "+" #318
Comments
Note that |
Thanks, Can you arrange to update given recommended practices documentation? I was not able to make best guess and find origin of given page in github project. PS: It seems that there is more than single repo with similar info. I guess from this search: https://github.com/search?q=%3Adescription%3A+This+document+catalogs+a+set+of+recommended+practices+for+writing+in+AsciiDoc.&type=Wikis PS2: I think that this issue is not an issue, so perhaps close it? |
It's documented here: https://asciidoctor.org/docs/user-manual/#splitting-attribute-values-over-multiple-lines If you feel a documentation update is warranted, feel free to propose a revision. |
I was probably not exact in my last post. I mean, I would propose change to this document: https://asciidoctor.org/docs/asciidoc-recommended-practices/#document-settings PS: I will try to learn asciidoc a bit more, but time is a constrain. |
@luvarqpp - please keep this issue open. This should be possible to include in the parser; maybe even have a hint for the user to describe the modern syntax. |
You were clear. I was just pointing out that if you want that change, please submit a revision. |
@luvarqpp - there is an "edit" button at the top of the page. It takes to the referenced GitHub repo and page. |
My apology. I was searching for edit button on right side only (things like "fork me" and so on). I have done edit and I have made pull request: asciidoctor/asciidoctor.org#878 |
Thanks! Most appreciated! 💝 |
I've pushed some changes to rectify this. The next version of the plugin:
This is NOT available as a pre-release, as I will first look into the other open issue as well. |
pre-release 0.29.5 is now available. |
Formatting multi-line attributes does broke them. Also rendering by code highlight is broken for them. See two screenshots and sample here:
highlighting; before code format:
result of code formatting algorithm:
Sample document snippet:
Multi-line attribute format is mentioned in recommended practices.
AsciiDoc Plugin Version: 0.29.4
IDE Name and Version:
IntelliJ IDEA 2019.2 (Community Edition)
Build #IC-192.5728.98, built on July 23, 2019
Runtime version: 11.0.3+12-b304.10 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 5.0.0-23-generic
GC: ParNew, ConcurrentMarkSweep
Memory: 1910M
Cores: 8
Registry: git.explicit.commit.renames.prohibit.multiple.calls=false
Non-Bundled Plugins: DBN, Lombook Plugin, com.oliverlockwood.plugins.jenkinsfile, im.jeanfrancois.ideaplugins.ideafullscreen, manifold.ij, org.asciidoctor.intellij.asciidoc, com.intellij.lang.jsgraphql, org.intellij.scala, Docker, training
The text was updated successfully, but these errors were encountered: