Skip to content

Asciidoc: bold formatting not applied if the text has multiple lines and there is monospace text on previous lines #839

Open
@anarthal

Description

@anarthal

I'm using single stars to make some sentences bold. I've found the following:

namespace boost::mysql {

/**
 * \brief Move-constructor.
 * \details
 * Some `code` and
 * some *bold that spans
 * several lines*.
 */
void f();

}  // namespace boost::mysql

Rendered as:

Image

Looking at the docs I couldn't find any mention to using stars for making things bold, so apologies if I'm trying something that's not supported. I've tried <strong> and @strong and they don't seem to be supported, either.

Generated asciidoc:

[#boost-mysql-f]
= xref:boost.adoc[boost]::xref:boost/mysql.adoc[mysql]::f
:relfileprefix: ../../
:mrdocs:


Move&hyphen;constructor&period;

== Synopsis


Declared in `&lt;https://github.com/boostorg/mysql/blob/master/include/boost/repro.hpp#L10[boost&sol;repro&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
f();
----

== Description


Some `code` and some bold that spans several lines&ast;&period;





[.small]#Created with https://www.mrdocs.com[MrDocs]#
MrDocs
    C++ Documentation Tool
    version: 0.0.3
    build: 93d5d102c39b093d402ae3f95302fd734c8de616
    built with LLVM 20.0.0git

This issue does not block me, since it has an easy workaround.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions