-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #91 from timvink/90-check-ignore
Add example to test ignore content for printing
- Loading branch information
Showing
2 changed files
with
16 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# ignored content | ||
|
||
This paragraph is not ignored for printing. | ||
|
||
<p class='print-site-plugin-ignore'>this paragraph should not print or show up on HTML print page</p> | ||
|
||
This is there again | ||
|
||
This paragraph will not be part of the print site page. | ||
{: .print-site-plugin-ignore } | ||
|
||
You can also use HTML to hide things from printing: | ||
<span class="print-site-plugin-ignore">hello this should not be visible</span> |
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 |
---|---|---|
|
@@ -3,5 +3,6 @@ site_name: Test | |
plugins: | ||
- print-site: | ||
add_to_navigation: true | ||
exclude: | ||
|
||
|
||
markdown_extensions: | ||
- attr_list |