[
https://issues.apache.org/jira/browse/MSITE-1002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17825188#comment-17825188
]
Konrad Windszus edited comment on MSITE-1002 at 3/11/24 7:52 AM:
-----------------------------------------------------------------
The markdown source
{code}
```java
int a=1;
```
{code}
is converted into the following (intermediate) HTML source
{code}
<pre><code class="language-java">int a=1;
</code></pre>
{code}
which emits the following Sink events
{code}
verbatim(no attributes);
inline(attribute for "code");
test("int a=1;");
_inline():
_verbatim();
{code}
was (Author: kwin):
The markdown source
{code}
```java
int a=1;
```
{code}
is converted into the following (intermediate) HTML source
```
<pre><code class="language-java">int a=1;
</code></pre>
```
which emits the following Sink events
```
verbatim(no attributes);
inline(attribute for "code");
test("int a=1;");
_inline():
_verbatim();
```
> Maven Site 4 will break code highlight of site generated by Markdown
> --------------------------------------------------------------------
>
> Key: MSITE-1002
> URL: https://issues.apache.org/jira/browse/MSITE-1002
> Project: Maven Site Plugin
> Issue Type: Bug
> Components: doxia integration
> Affects Versions: 4.0.0-M13
> Reporter: Xavi Lee
> Assignee: Michael Osipov
> Priority: Major
> Attachments: maven-site-3.png, maven-site-4.png, test-v3.html,
> test-v4.html
>
>
> repro repo https://github.com/awxiaoxian2020/code-render-bug
> master branch is Maven Site 3 with Fluido skin 1
> v4 branch is Maven Site 4 with Fluido skin 2.
> Open their respective `target/site/test.html` files in local to see the
> rendered result.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)