[
https://issues.apache.org/jira/browse/DOXIA-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus updated DOXIA-749:
----------------------------------
Description:
Each block element inside a list item must be separated by a blank line and
properly indented. Currently e.g. verbatim blocks inside list items are not
correctly formatted though:
{code}
If you prefer to do everything by hand from command templates, you can do
either with `svn` command:
- Unix:
```
SVNPUBSUB=https://svn.apache.org/repos/asf/maven/website/components
svn cp $SVNPUBSUB/xxx-archives/yyy-LATEST $SVNPUBSUB/xxx-archives/yyy-$version
-m "Archive versioned site."
svn rm $SVNPUBSUB/xxx/yyy -m "Remove old site."
svn cp $SVNPUBSUB/xxx-archives/yyy-$version $SVNPUBSUB/xxx/yyy -m "Publish new
site."
```
{code}
What is necessary though is
{code}
- Unix:
```
SVNPUBSUB=https://svn.apache.org/repos/asf/maven/website/components
svn cp $SVNPUBSUB/xxx-archives/yyy-LATEST
$SVNPUBSUB/xxx-archives/yyy-$version -m "Archive versioned site."
svn rm $SVNPUBSUB/xxx/yyy -m "Remove old site."
svn cp $SVNPUBSUB/xxx-archives/yyy-$version $SVNPUBSUB/xxx/yyy -m "Publish
new site."
```
{code}
was:
If currently a {{Sink.text()}} is followed by a
{{Sink.verbatim(SinkEventAttributeSet.SOURCE)}} with some text it is not
emitted on a dedicated line through the {{MarkdownSink}}.
However according to https://spec.commonmark.org/0.31.2/#fenced-code-blocks
{quote}A fenced code block begins with a code fence, preceded by up to three
spaces of indentation.{quote}
> MarkdownSink: Block elements inside list items must be separated by blank line
> ------------------------------------------------------------------------------
>
> Key: DOXIA-749
> URL: https://issues.apache.org/jira/browse/DOXIA-749
> Project: Maven Doxia
> Issue Type: Bug
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
> Priority: Major
> Fix For: 2.0.1
>
>
> Each block element inside a list item must be separated by a blank line and
> properly indented. Currently e.g. verbatim blocks inside list items are not
> correctly formatted though:
> {code}
> If you prefer to do everything by hand from command templates, you can do
> either with `svn` command:
> - Unix:
> ```
> SVNPUBSUB=https://svn.apache.org/repos/asf/maven/website/components
> svn cp $SVNPUBSUB/xxx-archives/yyy-LATEST
> $SVNPUBSUB/xxx-archives/yyy-$version -m "Archive versioned site."
> svn rm $SVNPUBSUB/xxx/yyy -m "Remove old site."
> svn cp $SVNPUBSUB/xxx-archives/yyy-$version $SVNPUBSUB/xxx/yyy -m "Publish
> new site."
> ```
> {code}
> What is necessary though is
> {code}
> - Unix:
> ```
> SVNPUBSUB=https://svn.apache.org/repos/asf/maven/website/components
> svn cp $SVNPUBSUB/xxx-archives/yyy-LATEST
> $SVNPUBSUB/xxx-archives/yyy-$version -m "Archive versioned site."
> svn rm $SVNPUBSUB/xxx/yyy -m "Remove old site."
> svn cp $SVNPUBSUB/xxx-archives/yyy-$version $SVNPUBSUB/xxx/yyy -m
> "Publish new site."
> ```
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)