git.iko.soy/typeable/pandoc
on master help sign in
Fix/update URLs and use HTTP**S** where possible (#7122)
fae6a20Salim B
CONTRIBUTING.md+8−8
@@ -372,7 +372,7 @@ The code
372--------
372--------
373
373
374Pandoc has a publicly accessible git repository on
374Pandoc has a publicly accessible git repository on
375−GitHub: <http://github.com/jgm/pandoc>. To get a local copy of the source:
375+GitHub: <https://github.com/jgm/pandoc>. To get a local copy of the source:
376
376
377 git clone https://github.com/jgm/pandoc.git
377 git clone https://github.com/jgm/pandoc.git
378
378
@@ -382,7 +382,7 @@ the pandoc library is in `src/`, the source for the tests is in
382
382
383The modules `Text.Pandoc.Definition`, `Text.Pandoc.Builder`, and
383The modules `Text.Pandoc.Definition`, `Text.Pandoc.Builder`, and
384`Text.Pandoc.Generic` are in a separate library `pandoc-types`. The code can
384`Text.Pandoc.Generic` are in a separate library `pandoc-types`. The code can
385−be found in <http://github.com/jgm/pandoc-types>.
385+be found in <https://github.com/jgm/pandoc-types>.
386
386
387To build pandoc, you will need a working installation of the
387To build pandoc, you will need a working installation of the
388[Haskell platform].
388[Haskell platform].
@@ -445,14 +445,14 @@ you may want to consider submitting a pull request to the
445[closed issues]: https://github.com/jgm/pandoc/issues?q=is%3Aissue+is%3Aclosed
445[closed issues]: https://github.com/jgm/pandoc/issues?q=is%3Aissue+is%3Aclosed
446[latest released version]: https://github.com/jgm/pandoc/releases/latest
446[latest released version]: https://github.com/jgm/pandoc/releases/latest
447[Nightly builds]: https://github.com/jgm/pandoc/actions?query=workflow%3ANightly
447[Nightly builds]: https://github.com/jgm/pandoc/actions?query=workflow%3ANightly
448−[pandoc-discuss]: http://groups.google.com/group/pandoc-discuss
448+[pandoc-discuss]: https://groups.google.com/group/pandoc-discuss
449[issue tracker]: https://github.com/jgm/pandoc/issues
449[issue tracker]: https://github.com/jgm/pandoc/issues
450−[User's Guide]: http://pandoc.org/MANUAL.html
450+[User's Guide]: https://pandoc.org/MANUAL.html
451−[FAQs]: http://pandoc.org/faqs.html
451+[FAQs]: https://pandoc.org/faqs.html
452−[EditorConfig]: http://editorconfig.org/
452+[EditorConfig]: https://editorconfig.org/
453−[Haskell platform]: http://www.haskell.org/platform/
453+[Haskell platform]: https://www.haskell.org/platform/
454[hlint]: https://hackage.haskell.org/package/hlint
454[hlint]: https://hackage.haskell.org/package/hlint
455−[hsb2hs]: http://hackage.haskell.org/package/hsb2hs
455+[hsb2hs]: https://hackage.haskell.org/package/hsb2hs
456[pre-commit hook]: https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks
456[pre-commit hook]: https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks
457[GitHub labels]: https://github.com/jgm/pandoc/labels
457[GitHub labels]: https://github.com/jgm/pandoc/labels
458[good first issue]:https://github.com/jgm/pandoc/labels/good%20first%20issue
458[good first issue]:https://github.com/jgm/pandoc/labels/good%20first%20issue
COPYING.md+1−1
@@ -357,5 +357,5 @@ into proprietary programs. If your program is a subroutine library,
357you may consider it more useful to permit linking proprietary
357you may consider it more useful to permit linking proprietary
358applications with the library. If this is what you want to do, use the
358applications with the library. If this is what you want to do, use the
359[GNU Lesser General Public
359[GNU Lesser General Public
360−License](http://www.gnu.org/licenses/lgpl.html) instead of this
360+License](https://www.gnu.org/licenses/lgpl.html) instead of this
361License.
361License.
COPYRIGHT+3−3
@@ -22,11 +22,11 @@ The GNU General Public License is available in the file COPYING.md in
22the source distribution. On Debian systems, the complete text of the
22the source distribution. On Debian systems, the complete text of the
23GPL can be found in `/usr/share/common-licenses/GPL`.
23GPL can be found in `/usr/share/common-licenses/GPL`.
24
24
25−[GPL]: http://www.gnu.org/copyleft/gpl.html
25+[GPL]: https://www.gnu.org/copyleft/gpl.html
26
26
27Pandoc's complete source code is available from the [Pandoc home page].
27Pandoc's complete source code is available from the [Pandoc home page].
28
28
29−[Pandoc home page]: http://pandoc.org
29+[Pandoc home page]: https://pandoc.org
30
30
31Pandoc includes some code with different copyrights, or subject to different
31Pandoc includes some code with different copyrights, or subject to different
32licenses. The copyright and license statements for these sources are included
32licenses. The copyright and license statements for these sources are included
@@ -176,7 +176,7 @@ Released under the GNU General Public License version 2 or later.
176----------------------------------------------------------------------
176----------------------------------------------------------------------
177The dzslides template contains JavaScript and CSS from Paul Rouget's
177The dzslides template contains JavaScript and CSS from Paul Rouget's
178dzslides template.
178dzslides template.
179−http://github.com/paulrouget/dzslides
179+https://github.com/paulrouget/dzslides
180
180
181Released under the Do What the Fuck You Want To Public License.
181Released under the Do What the Fuck You Want To Public License.
182
182
INSTALL.md+14−15
@@ -45,7 +45,7 @@ by downloading [this script][uninstaller]
45and running it with `perl uninstall-pandoc.pl`.
45and running it with `perl uninstall-pandoc.pl`.
46
46
47Alternatively, you can install pandoc using
47Alternatively, you can install pandoc using
48−[Homebrew](http://brew.sh):
48+[Homebrew](https://brew.sh):
49
49
50 brew install pandoc
50 brew install pandoc
51
51
@@ -116,7 +116,7 @@ package repositories. For example, on Debian/Ubuntu,
116you can install it with `apt-get install haskell-platform`.
116you can install it with `apt-get install haskell-platform`.
117
117
118For PDF output, you'll need LaTeX. We recommend installing
118For PDF output, you'll need LaTeX. We recommend installing
119−[TeX Live](http://www.tug.org/texlive/) via your package
119+[TeX Live](https://www.tug.org/texlive/) via your package
120manager. (On Debian/Ubuntu, `apt-get install texlive`.)
120manager. (On Debian/Ubuntu, `apt-get install texlive`.)
121
121
122## Chrome OS
122## Chrome OS
@@ -238,7 +238,7 @@ The easiest way to build pandoc from source is to use [stack][stack]:
238
238
239 pandoc --help
239 pandoc --help
240
240
241− [Not sure where `$CABALDIR` is?](http://www.haskell.org/haskellwiki/Cabal-Install#The_cabal-install_configuration_file)
241+ [Not sure where `$CABALDIR` is?](https://wiki.haskell.org/Cabal-Install#The_cabal-install_configuration_file)
242
242
2435. By default `pandoc` uses the "i;unicode-casemap" method
2435. By default `pandoc` uses the "i;unicode-casemap" method
244 to sort bibliography entries (RFC 5051). If you would like to
244 to sort bibliography entries (RFC 5051). If you would like to
@@ -383,30 +383,29 @@ To run just the markdown benchmarks:
383
383
384
384
385[Arch]: https://www.archlinux.org/packages/community/x86_64/pandoc/
385[Arch]: https://www.archlinux.org/packages/community/x86_64/pandoc/
386−[Cabal User's Guide]: http://www.haskell.org/cabal/release/latest/doc/users-guide/builders.html#setup-configure-paths
386+[Cabal User's Guide]: https://cabal.readthedocs.io/
387[Debian]: https://packages.debian.org/pandoc
387[Debian]: https://packages.debian.org/pandoc
388[Fedora]: https://apps.fedoraproject.org/packages/pandoc
388[Fedora]: https://apps.fedoraproject.org/packages/pandoc
389−[FreeBSD ports]: http://www.freshports.org/textproc/hs-pandoc/
389+[FreeBSD ports]: https://www.freshports.org/textproc/hs-pandoc/
390−[GHC]: http://www.haskell.org/ghc/
390+[GHC]: https://www.haskell.org/ghc/
391−[GPL]: http://www.gnu.org/copyleft/gpl.html
392−[Haskell platform]: http://hackage.haskell.org/platform/
391+[Haskell platform]: https://hackage.haskell.org/platform/
393−[MacPorts]: http://trac.macports.org/browser/trunk/dports/textproc/pandoc/Portfile
392+[MacPorts]: https://trac.macports.org/browser/trunk/dports/textproc/pandoc/Portfile
394[MacTeX]: https://tug.org/mactex/
393[MacTeX]: https://tug.org/mactex/
395−[BasicTeX]: http://www.tug.org/mactex/morepackages.html
394+[BasicTeX]: https://www.tug.org/mactex/morepackages.html
396[LaTeX]: https://www.latex-project.org
395[LaTeX]: https://www.latex-project.org
397−[MiKTeX]: http://miktex.org/
396+[MiKTeX]: https://miktex.org/
398[librsvg]: https://wiki.gnome.org/Projects/LibRsvg
397[librsvg]: https://wiki.gnome.org/Projects/LibRsvg
399[Python]: https://www.python.org
398[Python]: https://www.python.org
400−[NetBSD]: http://pkgsrc.se/wip/pandoc
399+[NetBSD]: https://pkgsrc.se/wip/pandoc
401[NixOS]: https://nixos.org/nixos/packages.html
400[NixOS]: https://nixos.org/nixos/packages.html
402[Slackware]: https://www.slackbuilds.org/result/?search=pandoc&sv=
401[Slackware]: https://www.slackbuilds.org/result/?search=pandoc&sv=
403[Ubuntu]: https://packages.ubuntu.com/pandoc
402[Ubuntu]: https://packages.ubuntu.com/pandoc
404[download page]: https://github.com/jgm/pandoc/releases/latest
403[download page]: https://github.com/jgm/pandoc/releases/latest
405−[gentoo]: http://packages.gentoo.org/package/app-text/pandoc
404+[gentoo]: https://packages.gentoo.org/package/app-text/pandoc
406[haskell repository]: https://wiki.archlinux.org/index.php/Haskell_Package_Guidelines#.5Bhaskell.5D
405[haskell repository]: https://wiki.archlinux.org/index.php/Haskell_Package_Guidelines#.5Bhaskell.5D
407[openSUSE]: https://software.opensuse.org/package/pandoc
406[openSUSE]: https://software.opensuse.org/package/pandoc
408−[source tarball]: http://hackage.haskell.org/package/pandoc
407+[source tarball]: https://hackage.haskell.org/package/pandoc
409[stack]: https://docs.haskellstack.org/en/stable/install_and_upgrade.html
408[stack]: https://docs.haskellstack.org/en/stable/install_and_upgrade.html
410−[cabal-install]: http://hackage.haskell.org/package/cabal-install
409+[cabal-install]: https://hackage.haskell.org/package/cabal-install
411[Void]: https://voidlinux.org/
410[Void]: https://voidlinux.org/
412[uninstaller]: https://raw.githubusercontent.com/jgm/pandoc/master/macos/uninstall-pandoc.pl
411[uninstaller]: https://raw.githubusercontent.com/jgm/pandoc/master/macos/uninstall-pandoc.pl
MANUAL.txt+1−1
@@ -486,7 +486,7 @@ header when requesting a document from a URL:
486[Emacs Org mode]: https://orgmode.org
486[Emacs Org mode]: https://orgmode.org
487[AsciiDoc]: https://www.methods.co.nz/asciidoc/
487[AsciiDoc]: https://www.methods.co.nz/asciidoc/
488[AsciiDoctor]: https://asciidoctor.org/
488[AsciiDoctor]: https://asciidoctor.org/
489−[DZSlides]: http://paulrouget.com/dzslides/
489+[DZSlides]: https://paulrouget.com/dzslides/
490[Word docx]: https://en.wikipedia.org/wiki/Office_Open_XML
490[Word docx]: https://en.wikipedia.org/wiki/Office_Open_XML
491[PDF]: https://www.adobe.com/pdf/
491[PDF]: https://www.adobe.com/pdf/
492[reveal.js]: https://revealjs.com/
492[reveal.js]: https://revealjs.com/
README.template+5−5
@@ -7,9 +7,9 @@ Pandoc
7======
7======
8
8
9[![github release](https://img.shields.io/github/release/jgm/pandoc.svg?label=current+release)](https://github.com/jgm/pandoc/releases)
9[![github release](https://img.shields.io/github/release/jgm/pandoc.svg?label=current+release)](https://github.com/jgm/pandoc/releases)
10−[![hackage release](https://img.shields.io/hackage/v/pandoc.svg?label=hackage)](http://hackage.haskell.org/package/pandoc)
10+[![hackage release](https://img.shields.io/hackage/v/pandoc.svg?label=hackage)](https://hackage.haskell.org/package/pandoc)
11−[![homebrew](https://img.shields.io/homebrew/v/pandoc.svg)](http://brewformulas.org/Pandoc)
11+[![homebrew](https://img.shields.io/homebrew/v/pandoc.svg)](https://formulae.brew.sh/formula/pandoc)
12−[![stackage LTS package](http://stackage.org/package/pandoc/badge/lts)](http://stackage.org/lts/package/pandoc)
12+[![stackage LTS package](https://stackage.org/package/pandoc/badge/lts)](https://www.stackage.org/lts/package/pandoc-types)
13[![CI tests](https://github.com/jgm/pandoc/workflows/CI%20tests/badge.svg)](https://github.com/jgm/pandoc/actions)
13[![CI tests](https://github.com/jgm/pandoc/workflows/CI%20tests/badge.svg)](https://github.com/jgm/pandoc/actions)
14[![license](https://img.shields.io/badge/license-GPLv2+-lightgray.svg)](https://www.gnu.org/licenses/gpl.html)
14[![license](https://img.shields.io/badge/license-GPLv2+-lightgray.svg)](https://www.gnu.org/licenses/gpl.html)
15[![pandoc-discuss on google groups](https://img.shields.io/badge/pandoc-discuss-red.svg?style=social)](https://groups.google.com/forum/#!forum/pandoc-discuss)
15[![pandoc-discuss on google groups](https://img.shields.io/badge/pandoc-discuss-red.svg?style=social)](https://groups.google.com/forum/#!forum/pandoc-discuss)
@@ -85,5 +85,5 @@ License
85[GPL], version 2 or greater. This software carries no warranty of
85[GPL], version 2 or greater. This software carries no warranty of
86any kind. (See COPYRIGHT for full copyright and warranty notices.)
86any kind. (See COPYRIGHT for full copyright and warranty notices.)
87
87
88−[GPL]: http://www.gnu.org/copyleft/gpl.html "GNU General Public License"
88+[GPL]: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html "GNU General Public License"
89−[Haskell]: http://haskell.org
89+[Haskell]: https://haskell.org
doc/lua-filters.md+1−1
@@ -3478,7 +3478,7 @@ Contract a filename, based on a relative path. Note that the
3478resulting path will usually not introduce `..` paths, as the
3478resulting path will usually not introduce `..` paths, as the
3479presence of symlinks means `../b` may not reach `a/b` if it starts
3479presence of symlinks means `../b` may not reach `a/b` if it starts
3480from `a/c`. For a worked example see [this blog
3480from `a/c`. For a worked example see [this blog
3481−post](http://neilmitchell.blogspot.co.uk/2015/10/filepaths-are-subtle-symlinks-are-hard.html).
3481+post](https://neilmitchell.blogspot.co.uk/2015/10/filepaths-are-subtle-symlinks-are-hard.html).
3482
3482
3483Set `unsafe` to a truthy value to a allow `..` in paths.
3483Set `unsafe` to a truthy value to a allow `..` in paths.
3484
3484
man/pandoc.1+1−1
@@ -7495,4 +7495,4 @@ This software carries no warranty of any kind.
7495of contributors, see the file AUTHORS.md in the pandoc source code.
7495of contributors, see the file AUTHORS.md in the pandoc source code.
7496.PP
7496.PP
7497The Pandoc source code and all documentation may be downloaded
7497The Pandoc source code and all documentation may be downloaded
7498−from <http://pandoc.org>.
7498+from <https://pandoc.org>.
man/pandoc.1.after+1−1
@@ -1,3 +1,3 @@
1.PP
1.PP
2The Pandoc source code and all documentation may be downloaded
2The Pandoc source code and all documentation may be downloaded
3−from <http://pandoc.org>.
3+from <https://pandoc.org>.
src/Text/Pandoc/Citeproc.hs+1−1
@@ -544,7 +544,7 @@ linkifyVariables ref =
544 fixShortDOI x = let x' = extractText x
544 fixShortDOI x = let x' = extractText x
545 in if "10/" `T.isPrefixOf` x'
545 in if "10/" `T.isPrefixOf` x'
546 then TextVal $ T.drop 3 x'
546 then TextVal $ T.drop 3 x'
547− -- see http://shortdoi.org
547+ -- see https://shortdoi.org
548 else TextVal x'
548 else TextVal x'
549 tolink pref x = let x' = extractText x
549 tolink pref x = let x' = extractText x
550 x'' = if "://" `T.isInfixOf` x'
550 x'' = if "://" `T.isInfixOf` x'
src/Text/Pandoc/Citeproc/BibTeX.hs+4−4
@@ -577,10 +577,10 @@ itemToReference locale variant item = do
577 eprint <- getRawField "eprint"
577 eprint <- getRawField "eprint"
578 let baseUrl =
578 let baseUrl =
579 case T.toLower etype of
579 case T.toLower etype of
580− "arxiv" -> "http://arxiv.org/abs/"
580+ "arxiv" -> "https://arxiv.org/abs/"
581− "jstor" -> "http://www.jstor.org/stable/"
581+ "jstor" -> "https://www.jstor.org/stable/"
582− "pubmed" -> "http://www.ncbi.nlm.nih.gov/pubmed/"
582+ "pubmed" -> "https://www.ncbi.nlm.nih.gov/pubmed/"
583− "googlebooks" -> "http://books.google.com?id="
583+ "googlebooks" -> "https://books.google.com?id="
584 _ -> ""
584 _ -> ""
585 if T.null baseUrl
585 if T.null baseUrl
586 then mzero
586 then mzero
src/Text/Pandoc/Readers/Textile.hs+1−1
@@ -11,7 +11,7 @@
11 Portability : portable
11 Portability : portable
12
12
13Conversion from Textile to 'Pandoc' document, based on the spec
13Conversion from Textile to 'Pandoc' document, based on the spec
14−available at http://redcloth.org/textile.
14+available at https://www.promptworks.com/textile/.
15
15
16Implemented and parsed:
16Implemented and parsed:
17 - Paragraphs
17 - Paragraphs
src/Text/Pandoc/Writers/Markdown.hs+1−1
@@ -14,7 +14,7 @@
14
14
15Conversion of 'Pandoc' documents to markdown-formatted plain text.
15Conversion of 'Pandoc' documents to markdown-formatted plain text.
16
16
17−Markdown: <http://daringfireball.net/projects/markdown/>
17+Markdown: <https://daringfireball.net/projects/markdown/>
18-}
18-}
19module Text.Pandoc.Writers.Markdown (
19module Text.Pandoc.Writers.Markdown (
20 writeMarkdown,
20 writeMarkdown,
test/txt2tags.t2t+1−1
@@ -270,7 +270,7 @@ FTP.DOMAIN.COM
270[img.png]
270[img.png]
271
271
272%%% Syntax: Image pointing to a link: [[img] link]
272%%% Syntax: Image pointing to a link: [[img] link]
273−[[img.png] http://txt2tags.org]
273+[[img.png] https://txt2tags.org]
274
274
275%%% Align: Image position is preserved when inside paragraph
275%%% Align: Image position is preserved when inside paragraph
276[img.png] Image at the line beginning.
276[img.png] Image at the line beginning.
trypandoc/index.html+1−1
@@ -14,7 +14,7 @@
14 <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
14 <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
15 <script>
15 <script>
16"use strict";
16"use strict";
17−(function($) { // http://stackoverflow.com/questions/901115/how-can-i-get-query-string-values
17+(function($) { // https://stackoverflow.com/questions/901115/how-can-i-get-query-string-values
18 $.QueryString = (function(a) {
18 $.QueryString = (function(a) {
19 if (a == "") return {};
19 if (a == "") return {};
20 var b = {};
20 var b = {};
windows/Makefile+1−1
@@ -6,5 +6,5 @@ all: $(SIGNED)
6.PHONY: all
6.PHONY: all
7
7
8pandoc-%.msi: pandoc-%-UNSIGNED.msi
8pandoc-%.msi: pandoc-%-UNSIGNED.msi
9− osslsigncode sign -pkcs12 $$HOME/Private/SectigoCodeSigning.exp2023.p12 -in $< -i http://johnmacfarlane.net/ -t http://timestamp.comodoca.com/ -out $@ -askpass && rm $<
9+ osslsigncode sign -pkcs12 $$HOME/Private/SectigoCodeSigning.exp2023.p12 -in $< -i https://johnmacfarlane.net/ -t http://timestamp.comodoca.com/ -out $@ -askpass && rm $<
10
10
windows/pandoc.wxs+2−2
@@ -123,8 +123,8 @@
123
123
124
124
125 <!-- Set properties for add/remove programs -->
125 <!-- Set properties for add/remove programs -->
126− <Property Id="ARPURLINFOABOUT" Value="http://pandoc.org" />
126+ <Property Id="ARPURLINFOABOUT" Value="https://pandoc.org" />
127− <Property Id="ARPHELPLINK" Value="http://pandoc.org" />
127+ <Property Id="ARPHELPLINK" Value="https://pandoc.org" />
128 <Property Id="ARPNOREPAIR" Value="yes" Secure="yes" /> <!-- Remove repair -->
128 <Property Id="ARPNOREPAIR" Value="yes" Secure="yes" /> <!-- Remove repair -->
129 <Property Id="ARPNOMODIFY" Value="yes" Secure="yes" /> <!-- Remove modify -->
129 <Property Id="ARPNOMODIFY" Value="yes" Secure="yes" /> <!-- Remove modify -->
130
130