Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
J
jekyll-pandoc-multiple-formats
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
edsl
jekyll-pandoc-multiple-formats
Commits
6159033b
Unverified
Commit
6159033b
authored
Dec 21, 2016
by
fauno
Browse files
Options
Downloads
Plain Diff
Merge branch 'hotfix/0.2.1'
parents
6c4e4dc2
6848ba3b
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+14
-0
14 additions, 0 deletions
README.md
lib/jekyll-pandoc-multiple-formats/version.rb
+1
-1
1 addition, 1 deletion
lib/jekyll-pandoc-multiple-formats/version.rb
with
15 additions
and
1 deletion
README.md
+
14
−
0
View file @
6159033b
...
@@ -40,6 +40,7 @@ pandoc:
...
@@ -40,6 +40,7 @@ pandoc:
sheetsize
:
'
a4paper'
sheetsize
:
'
a4paper'
imposition
:
true
imposition
:
true
binder
:
true
binder
:
true
covers_dir
:
assets/covers
flags
:
'
--smart'
flags
:
'
--smart'
site_flags
:
'
--toc'
site_flags
:
'
--toc'
...
@@ -75,6 +76,8 @@ regular jekyll site build.
...
@@ -75,6 +76,8 @@ regular jekyll site build.
*
`sheetsize`
is the page size for ready the print PDF
*
`sheetsize`
is the page size for ready the print PDF
*
`covers_dir`
the directory where covers are stored
**IMPORTANT**
: As of version 0.1.0 the syntax of the config changed.
**IMPORTANT**
: As of version 0.1.0 the syntax of the config changed.
Please upgrade your
`_config.yml`
accordingly.
Please upgrade your
`_config.yml`
accordingly.
...
@@ -91,6 +94,17 @@ image on the epub result.
...
@@ -91,6 +94,17 @@ image on the epub result.
cover: images/awesome.png
cover: images/awesome.png
---
---
For categories or posts without a cover specified, the plugin looks for
a PNG file inside the
`covers_dir`
whose file name will be the
category/post slug.
Since 0.2.0, there's also support for PDF covers. If you have a PNG
cover, it will get converted to PDF. You can also provide a PDF cover
as long as it's the same file name as the PNG cover.
*
Category cover:
`assets/covers/the_category_slug.png`
*
PDF cover:
`assets/covers/the_slug.pdf`
### Paper sizes
### Paper sizes
For PDFs, each article can have a
`papersize`
and a
`sheetsize`
. The
For PDFs, each article can have a
`papersize`
and a
`sheetsize`
. The
...
...
This diff is collapsed.
Click to expand it.
lib/jekyll-pandoc-multiple-formats/version.rb
+
1
−
1
View file @
6159033b
module
JekyllPandocMultipleFormats
module
JekyllPandocMultipleFormats
VERSION
=
'0.2.
0
'
VERSION
=
'0.2.
1
'
end
end
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment