A list of links with custom markers doesn't fold properly
See original GitHub issue= Training
== First section
[square]
* https://asciidoctor.org/
== Second section
Content
Yes it’s a really specific bug! See the gif:

As you can see, “Second section” will be folded when the list contains only links and has custom markers.
AsciiDoc Plugin Version
0.30.30
IDE Name and Version
IntelliJ IDEA 2019.3.1 (Ultimate Edition)
Build #IU-193.5662.53, built on December 18, 2019
Runtime version: 11.0.5+10-b520.17 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.15.0-72-generic
GC: ParNew, ConcurrentMarkSweep
Memory: 1981M
Cores: 8
Registry:
Non-Bundled Plugins: BashSupport, Batch Scripts Support, CMD Support, CheckStyle-IDEA, FindBugs-IDEA, JFormDesigner, PsiViewer, com.dmarcotte.handlebars, com.intellij.ideolog, com.jetbrains.lang.ejs, com.jetbrains.plugins.jade, com.wix.eslint, org.asciidoctor.intellij.asciidoc, org.intellij.scala, org.jetbrains.idea.grammar, org.jetbrains.plugins.slim, org.jetbrains.plugins.ruby
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Custom Markers only work with URLs #672 - GitHub
It seems that custom markers only work with URLs and not local image files. This works: icon = folium.features.
Read more >Google map custom marker link not working - Stack Overflow
You are using 'markers' in a context which it's not defined. 'markers' is declared in Goog2 function and use outside. Try (not tested):...
Read more >Changing foldmarker per filetype with vim 8.2
It doesn't fold at all? It folds the incorrect blocks? What if you use a command such as zM to fold everything? Can...
Read more >Custom Markers | Maps JavaScript API - Google Developers
This tutorial teaches you how to change the icon of a Google maps marker. It is beneficial to know the basics of creating...
Read more >VS Code API | Visual Studio Code Extension API
Represents a custom document used by a CustomEditorProvider. Custom documents are only used within a given CustomEditorProvider . The lifecycle of a ...
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

I’ve given it a try and some refactorings. Now an list terminates with a list item followed by a blank and something that is not a list item. It also handles continuations. This should handle most cases. I tested your example and some other edge cases. It will be part of the next release.
Version 0.30.32 is now available as a pre-release that includes this change. Please comment here if there is something not working related to this issue and I will re-open the issue.
The pre-release of the plugin is available from GitHub releases and the IntelliJ AsciiDoc EAP repository.