-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
New image and link attributes #2351
Closed
Closed
Conversation
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
Also use a proper css parser (adds dependency on text-css). Closes jgm#2129.
Fix typos in User's Guide
Update README on in-field markup in biblio databases
Previously we just stripped them out; now we convert other line ending styles to LF line endings. Closes jgm#2132.
README: Add documentation on backtick_code_blocks
* Allow `--css` to be used to specify stylesheets. * Deprecated `--epub-stylesheet` and made it a synoynym of `--css`. * If a code block with class "css" is given as contents of the `stylesheet` metadata field, use its literal code as contents of the epub stylesheet. Otherwise, treat it as a filename and read the file. * Note: `--css` and `stylesheet` in metadata are not compatible. `stylesheet` takes precedence.
This will give us better error reporting options. This is part of a fix for jgm#1834.
From last commit.
Closes jgm#1834. The image originally supplied works fine now with pandoc.
InDesign expects LinkResourceURI to start with "file:" for local filenames, and won't render/link the image without.
Earlier versions had a bug and would wrongly think opening tags containing attributes with slashes in them were self-closing. Closes jgm#2146.
Also use `\addbibresource` instead of `\bibliography` for biblatex. See jgm#1661.
…used. Not when `bibliography` field in metadata is specified. Closes jgm#1849.
Instead, just use an a element with class `footnoteRef`. This allows more styling options, and provides better results in some readers (e.g. iBooks, where anything inside the a tag breaks popup footnotes). Closes jgm#1995.
README: bibliography updates
Technically this isn't allowed in an HTML comment, but we've always allowed it, and so do most other implementations. It is handy if e.g. you want to put command line arguments in HTML comments.
The abstract populates an "abstract" metadata field.
Fix implicit header refs for headers with extra spaces
This makes keys with extra space at the beginning and end work: e.g. [foo]: bar [ foo ] will now be a link to bar (it wasn't before).
we no longer need it with the change to toKey, and it is expensive to skip spaces after every inline.
Fully implemented features: * Paragraphs * Headers * Basic styling * Unordered lists * Ordered lists * External Links * Internal Links * Footnotes, Endnotes * Blockquotes Partly implemented features: * Citations Very basic, but pandoc can't do much more * Tables No headers, no sizing, limited styling
* Added `Ext_common_link_attributes` constructor to `Extension` (for link and image attributes). * Added this to `pandocExtensions` and `phpMarkdownExtraExtensions`. * Added `writerDpi` to `WriterOptions`. * pandoc.hs: Added `--dpi` option. * Updated README for `--dpi` and `common_link_attributes` extension. Patch due to mb21, with some modifications: `writerDpi` is now an `Int` rather than a `Double`.
API change: It is now `WriterOptions -> Pandoc -> IO String`. Also handle new image attributes. (mb21)
This was referenced Aug 7, 2015
Closed
these commits were merged independently of this pull... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
see pandoc issue #261 and pandoc-types pull #14