Merge pull request #642 from kdeldycke/inline-links-import

Remove `--reference-links` parameter from pelican-import
This commit is contained in:
Justin Mayer 2013-11-26 07:12:54 -08:00
commit a3cb64c320
2 changed files with 2 additions and 1 deletions

View file

@ -6,6 +6,7 @@ Next release
* Added the `:modified:` metadata field to complement `:date:`. * Added the `:modified:` metadata field to complement `:date:`.
Used to specify the last date and time an article was updated independently from the date and time it was published. Used to specify the last date and time an article was updated independently from the date and time it was published.
* Produce inline links instead of reference-style links when importing content.
3.3.0 (2013-09-24) 3.3.0 (2013-09-24)
================== ==================

View file

@ -519,7 +519,7 @@ def fields2pelican(fields, out_markup, output_path,
parse_raw = '--parse-raw' if not strip_raw else '' parse_raw = '--parse-raw' if not strip_raw else ''
cmd = ('pandoc --normalize --reference-links {0} --from=html' cmd = ('pandoc --normalize {0} --from=html'
' --to={1} -o "{2}" "{3}"').format( ' --to={1} -o "{2}" "{3}"').format(
parse_raw, out_markup, out_filename, html_filename) parse_raw, out_markup, out_filename, html_filename)