Import Snippet Section from XML file #1914
-
I want to use Snippet Sections in an XML file: <dependencies>
<!-- --8<-- [start:func] -->
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>dynamodb-enhanced</artifactId>
</dependency>
<!-- --8<-- [end:func] -->
</dependencies>
Is there a way to use different "tag" than |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Ugh, XML...I completely forgot about this annoying rule in XML where you cannot have I don't exactly recall why I required at least 2 I think doing the above should be more than sufficient. The idea was to allow these to live in comments. I'm fairly certain that fixing this for XML will allow this to work pretty much everywhere. If we run into this issue again in some other language, we can explore alternate syntax as a last resort. |
Beta Was this translation helpful? Give feedback.
-
9.9.2 resolves this issue by allowing |
Beta Was this translation helpful? Give feedback.
9.9.2 resolves this issue by allowing
-8<-
(single dash) moving forward. This should be compatible with XML Marking this answered.