pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/R-markdown



Module Name:    pkgsrc
Committed By:   mef
Date:           Sat Jun  3 14:10:00 UTC 2023

Modified Files:
        pkgsrc/textproc/R-markdown: Makefile distinfo

Log Message:
(textproc/R-markdown) Updated 1.5 to 1.7

# CHANGES IN markdown VERSION 1.7

- The `file` argument of `mark()` will be treated as a file path only
  if the file exists and the value is not wrapped in
  `I()`. Previously, it would be treated as a file path when it has a
  file extension, which could lead to confusing errors like #100
  (thanks, @LukasWallrich).

- When there are emojis in the text, `mark()` may fail to identify and
  embed web resources (thanks, @tdhock, yihui/knitr#2254).

# CHANGES IN markdown VERSION 1.6

- Added support for footnotes, fenced `Div`s, section numbers, `{}`
  attributes for images/headings/fenced `Div`s, and appendices. See
  `vignette('intro', package = 'markdown')` for details.

- A lot of enhancements to the HTML slides format. See
  `vignette('slides', package = 'markdown')` for details.

- Added `vignette('article', package = 'markdown')` to demonstrate how
  to write an HTML article.

- If the input to `mark()` is a file, the output will also be a file
  by default. Previously the output would be text. If you want
  `mark()` to return text output when the input is a file, you may
  specify the argument `output = NULL`.

- The Markdown option `base64_images` has been renamed to
  `embed_resources`. This option can take two possible values,
  `"local"` and `"https"`, meaning whether to embed local and/or web
  (https) resources. You can specify none, either, or both of
  them. See `vignette('intro', package = 'markdown')` for details.

- Removed the option `standalone` from the list of Markdown
  options. Please use the argument `template = TRUE/FALSE` of `mark()`
  instead. The option `standalone = TRUE` was equivalent to `template
  = TRUE`.

- Added the option `auto_identifiers` (enabled by default) to
  automatically add IDs to headings, e.g., `# Hello world!` will be
  converted to `<h1 id="hello-world">Hello world!</h1>`. You can
  certainly override the automatic ID by providing an ID manually via
  the `{#id}` attribute, e.g., `# Hello world! {#hello}`.

- Renamed the `mathjax` option to `js_math` to allow for other JS math
  libraries. The default library was changed from MathJax to KaTeX. To
  continue using MathJax, you may set `js_math: mathjax`.

- Removed the option `mathjax_embed` from the list of Markdown
  options. To embed the MathJax library, enable `"https"` in the
  `embed_resources` option instead. Note that only MathJax v3 can be
  partially embedded, and lower versions cannot.

- Renamed the option `highlight_code` to `js_highlight`, and added
  support for an alternative syntax highlighting JS library Prism.js,
  which became the default. To continue using the old default
  `highlight.js`, you may set the `js_highlight` option to
  `highlight`.

- The default version of MathJax has been changed from v2 to v3.

- The default version of highlight.js has been changed from 11.6.0 to
  11.7.0, and the default style has been switched from `github` to
  `xcode`.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/R-markdown/Makefile \
    pkgsrc/textproc/R-markdown/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/R-markdown/Makefile
diff -u pkgsrc/textproc/R-markdown/Makefile:1.8 pkgsrc/textproc/R-markdown/Makefile:1.9
--- pkgsrc/textproc/R-markdown/Makefile:1.8     Sun Mar 12 09:52:10 2023
+++ pkgsrc/textproc/R-markdown/Makefile Sat Jun  3 14:10:00 2023
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2023/03/12 09:52:10 mef Exp $
+# $NetBSD: Makefile,v 1.9 2023/06/03 14:10:00 mef Exp $
 
 R_PKGNAME=     markdown
-R_PKGVER=      1.5
+R_PKGVER=      1.7
 CATEGORIES=    textproc
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
Index: pkgsrc/textproc/R-markdown/distinfo
diff -u pkgsrc/textproc/R-markdown/distinfo:1.8 pkgsrc/textproc/R-markdown/distinfo:1.9
--- pkgsrc/textproc/R-markdown/distinfo:1.8     Sun Mar 12 09:52:10 2023
+++ pkgsrc/textproc/R-markdown/distinfo Sat Jun  3 14:10:00 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2023/03/12 09:52:10 mef Exp $
+$NetBSD: distinfo,v 1.9 2023/06/03 14:10:00 mef Exp $
 
-BLAKE2s (R/markdown_1.5.tar.gz) = 69ec90247ff0eb3ee0a740a10c9450748a92712eda0d71060332e8f9f86bb2f5
-SHA512 (R/markdown_1.5.tar.gz) = b4e634f10101e5871116ec4a9b82443613a3c924b9ea6723f88888896d01ef4251fc9f236e1e3720d41e134f0017d7d0f7fead74d9369fff416d674b03216444
-Size (R/markdown_1.5.tar.gz) = 41683 bytes
+BLAKE2s (R/markdown_1.7.tar.gz) = 0d309abc046684861ad79dd0eb8e8cbb509c30d88d4517cc24c58d156bb0dd92
+SHA512 (R/markdown_1.7.tar.gz) = 5bcdb9392c387ba06613585958196899294c633285159c261b66ca958fbd39e0063b4e6e15ab295e3a9ddbd7e1075bbf3cabc5b295132d65f3c0411b00035ef6
+Size (R/markdown_1.7.tar.gz) = 107936 bytes



Home | Main Index | Thread Index | Old Index