Skip to content

Asciidoctor compatibility for part of readme #640

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -372,21 +372,21 @@ Longer `partintro` blocks should be wrapped in an
http://www.methods.co.nz/asciidoc/userguide.html#X29[_open block_]
which starts and ends with two dashes: `--`:

[source,asciidoc]
["source","asciidoc",subs="attributes,callouts,macros"]
----------------------------------
= Part two # level 0

[partintro]
.A partintro title
-- <1>
pass:[--] <1>
This section may contain multiple paragraphs.

[float]
== A header should use `[float]`
== A header should use [float]

Everything up to the closing -- marker
will be considered part of the partintro.
-- <1>
pass:[--] <1>

== Chapter title # level 2

Expand Down
2 changes: 1 addition & 1 deletion integtest/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ readme_expected_files: /tmp/readme_asciidoc
<(cd /tmp/$*_asciidoctor && find * -type f | sort)
# The grep -v below are for known issues with asciidoctor
for file in $$(cd /tmp/$*_asciidoc && find * -type f -name '*.html' \
| grep -v 'blocks\|changes\|experimental\|multi-part'); do \
| grep -v 'blocks\|changes\|experimental'); do \
./html_diff /tmp/$*_asciidoc/$$file /tmp/$*_asciidoctor/$$file; \
done

Expand Down