Skip to content

Commit

Permalink
Fix monospace render problem in tutorial
Browse files Browse the repository at this point in the history
According to [documentation](https://docs.asciidoctor.org/asciidoc/latest/text/monospace/)
of AsciiDoc:
As with other types of text formatting, if the text is bounded by
word characters on either side, it must be enclosed in a double
pair of backtick characters (``) in order for the formatting to be
applied.
  • Loading branch information
FantasqueX committed Dec 12, 2023
1 parent 97c7c85 commit 4ac094b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/src/tutorial.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ exe app : app.cpp core ;
This works no matter what kind of linking is used. When `core` is built as a
shared library, links `utils` directly into it. Static libraries can't link
to other libraries, so when `core` is built as a static library, its
dependency on `utils` is passed along to `core`'s dependents, causing `app`
dependency on `utils` is passed along to ``core``'s dependents, causing `app`
to be linked with both `core` and `utils`.
====

Expand Down Expand Up @@ -515,7 +515,7 @@ exe app : app.cpp ../util/lib2//lib2 ;
----

As with any target, the alternative selected depends on the properties
propagated from `lib2`'s dependents. If we build the release and debug
propagated from ``lib2``'s dependents. If we build the release and debug
versions of `app` it will be linked with `lib2_release.a` and
`lib2_debug.a`, respectively.

Expand Down

0 comments on commit 4ac094b

Please sign in to comment.