-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously a Div with an identifier derived from the filename would be added around the contents of each file. This caused problems for "chunking" files into chapters, e.g. in EPUB. We no longer add the surrounding Div. This cooperates better with chunking. Note, however, that if you have relied on the old behavior to link to the beginning of the contents of a file using its filename as identifier, that will no longer work. Closes #8741.
- Loading branch information
Showing
3 changed files
with
1 addition
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,12 @@ | ||
``` | ||
% pandoc --wrap=preserve --file-scope command/file1.txt command/file2.txt | ||
^D | ||
<div id="command__file1.txt"> | ||
<h1 id="command__file1.txt__zed">Zed</h1> | ||
<p><a href="bar">foo</a> | ||
and <a href="#command__file1.txt__zed">Zed</a> | ||
and <a href="#command__file2.txt__zed">other Zed</a> | ||
and <a href="#command__file2.txt">other file</a> | ||
and <a href="c.md#zed">foreign Zed</a></p> | ||
</div> | ||
<div id="command__file2.txt"> | ||
<h2 id="command__file2.txt__zed">Zed</h2> | ||
<p><a href="baz">foo</a></p> | ||
</div> | ||
``` |