Skip to content

Commit

Permalink
Fix box newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
carols10cents committed Oct 20, 2022
1 parent a64cbd9 commit 72053d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions nostarch/chapter01.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ these steps should work as expected with the content of this book.


> ### Command Line Notation

>
> In this chapter and throughout the book, we’ll show some commands used in the
terminal. Lines that you should enter in a terminal all start with `$`. You
don’t need to type the `$` character; it’s the command line prompt shown to
Expand Down
3 changes: 1 addition & 2 deletions tools/docx-to-md.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,10 @@
<xsl:text>&#10;</xsl:text>
<xsl:text>> ### </xsl:text>
<xsl:apply-templates select="*" />
<xsl:text>&#10;&#10;</xsl:text>
<xsl:text>&#10;>&#10;</xsl:text>
</xsl:template>

<xsl:template match="w:p[w:pPr/w:pStyle[@w:val = 'BlockText' or @w:val = 'BoxBody']]">
<xsl:text>&#10;</xsl:text>
<xsl:text>> </xsl:text>
<xsl:apply-templates select="*" />
<xsl:text>&#10;&#10;</xsl:text>
Expand Down

0 comments on commit 72053d9

Please sign in to comment.