Sun Mar 12 09:52:10 2023 UTC ()
(textproc/R-markdown) Updated 1.1 to 1.5

# CHANGES IN markdown VERSION 1.5

- Values of meta variables `title`, `author`, and `date` (if provided)
  will be transformed to the target output format before they are
  passed into templates.

- Fixed the bug that the default CSS was not added to HTML output.

- Removed dependency on the **mime** package.

- Added experimental support for HTML slides:
  `markdown::mark_html(..., meta = list(css = c('default', 'slides'),
  js = 'slides'))`. If you prefer knitting `Rmd` documents in RStudio,
  you may use the output format:

  ```yaml
  output:
    markdown::html_format:
      meta:
        css: [default, slides]
        js: [slides]
  ```

  See https://yihui.org/en/2023/01/minimal-r-markdown/ for a demo.

# CHANGES IN markdown VERSION 1.4

- Empty `\title{}` in LaTeX output will be removed (along with `\maketitle`).

- highlight.js is loaded from
  https://www.jsdelivr.com/package/gh/highlightjs/cdn-release by
  default now. This means more languages are supported (not only R),
  but also means syntax-highlighting will not work offline at the
  moment (it will be improved in future).

- MathJax failed to load in the previous version. The bug has been
  fixed now.

- Removed the function `markdownExtensions()`.

# CHANGES IN markdown VERSION 1.3

- Switched the underlying Markdown rendering engine from the C library
  **sundown** (which has been deprecated for a decade) to the R
  package **commonmark** (thanks, @jeroen, yihui/knitr#1329).

- The functions `renderMarkdown()` and `markdownToHTML()` have been
  renamed to `mark()` and `mark_html()`, respectively. The old names
  are still kept in this package for backward-compatibility.

- Removed the arguments `stylesheet` and `fragment.only` in
  `mark_html()`. For `stylesheet`, please use the argument `meta =
  list(css = ...)` to provide the CSS stylesheet. For `fragment.only`,
  please use `mark_html(template = FALSE)` or `mark_html(options =
  '-standalone')` instead of `fragment.only = TRUE`. Currently these
  old arguments are still accepted internally, but may be deprecated
  and dropped in the long run.

- The `file` argument of `mark()` and `mark_html()` can also take a
  character vector of Markdown text now.

- Removed functions `rendererExists()`, `rendererOutputType()`, and
  `registeredRenderer()`. They were primarily for internal use.

- Deprecated the function `markdownExtensions()`. All extensions
  should be specified via the `options` argument of functions like
  `mark()`, e.g., `mark(options = '+table+tasklist')`. See all options
  on the help page `?markdown::markdown_options`.

- Renamed `markdownHTMLOptions()` to `markdown_options()`.

# CHANGES IN markdown VERSION 1.2

- Fixed the warnings "a function declaration without a prototype is
  deprecated in all versions of C" (#94).


(mef)
diff -r1.7 -r1.8 pkgsrc/textproc/R-markdown/Makefile
diff -r1.7 -r1.8 pkgsrc/textproc/R-markdown/distinfo

cvs diff -r1.7 -r1.8 pkgsrc/textproc/R-markdown/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/R-markdown/Makefile 2021/06/06 15:44:34 1.7
+++ pkgsrc/textproc/R-markdown/Makefile 2023/03/12 09:52:10 1.8
@@ -1,20 +1,21 @@ @@ -1,20 +1,21 @@
1# $NetBSD: Makefile,v 1.7 2021/06/06 15:44:34 mef Exp $ 1# $NetBSD: Makefile,v 1.8 2023/03/12 09:52:10 mef Exp $
2 2
3R_PKGNAME= markdown 3R_PKGNAME= markdown
4R_PKGVER= 1.1 4R_PKGVER= 1.5
5CATEGORIES= textproc 5CATEGORIES= textproc
6 6
7MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
8COMMENT= Render Markdown with the C Library 'Sundown' 8COMMENT= Render Markdown with the C Library 'Sundown'
9LICENSE= gnu-gpl-v2 9LICENSE= gnu-gpl-v2
10 10
 11DEPENDS+= R-commonmark-[0-9]*:../../textproc/R-commonmark
11DEPENDS+= R-mime>=0.3:../../mail/R-mime 12DEPENDS+= R-mime>=0.3:../../mail/R-mime
12DEPENDS+= R-xfun-[0-9]*:../../devel/R-xfun 13DEPENDS+= R-xfun-[0-9]*:../../devel/R-xfun
13 14
14TEST_DEPENDS+= R-knitr-[0-9]*:../../print/R-knitr 15TEST_DEPENDS+= R-knitr-[0-9]*:../../print/R-knitr
15TEST_DEPENDS+= R-RCurl-[0-9]*:../../www/R-RCurl 16TEST_DEPENDS+= R-RCurl-[0-9]*:../../www/R-RCurl
16 17
17USE_LANGUAGES= c 18USE_LANGUAGES= c
18 19
19.include "../../math/R/Makefile.extension" 20.include "../../math/R/Makefile.extension"
20.include "../../mk/bsd.pkg.mk" 21.include "../../mk/bsd.pkg.mk"

cvs diff -r1.7 -r1.8 pkgsrc/textproc/R-markdown/distinfo (expand / switch to unified diff)

--- pkgsrc/textproc/R-markdown/distinfo 2021/10/26 11:21:31 1.7
+++ pkgsrc/textproc/R-markdown/distinfo 2023/03/12 09:52:10 1.8
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.7 2021/10/26 11:21:31 nia Exp $ 1$NetBSD: distinfo,v 1.8 2023/03/12 09:52:10 mef Exp $
2 2
3BLAKE2s (R/markdown_1.1.tar.gz) = 3579b826dff51164e0a77fdbb355ff640b18409d6a1832ae7e86d3b3ad55b93e 3BLAKE2s (R/markdown_1.5.tar.gz) = 69ec90247ff0eb3ee0a740a10c9450748a92712eda0d71060332e8f9f86bb2f5
4SHA512 (R/markdown_1.1.tar.gz) = d53da9b7d184154b866e85cad33f1ba836656bca4007486190c1767b7a79f003b86f34ee66c7349c96372c63c5b6762ea00dd5efb731d9b5e9f2aebddeb9b7da 4SHA512 (R/markdown_1.5.tar.gz) = b4e634f10101e5871116ec4a9b82443613a3c924b9ea6723f88888896d01ef4251fc9f236e1e3720d41e134f0017d7d0f7fead74d9369fff416d674b03216444
5Size (R/markdown_1.1.tar.gz) = 81050 bytes 5Size (R/markdown_1.5.tar.gz) = 41683 bytes