Skip to content

Release 0.4.0

Compare
Choose a tag to compare
@humburg humburg released this 27 Feb 23:29
· 43 commits to develop since this release

This release provides a number of new features and improvements:

  • Better control over the size and appearance of figures.
    • Use fig_width and fig_height to set the figure size. Either document wide in the YAML header or
      in the options for a figure chunk.
    • Set the size of thumbnails in the YAML header using thumbnail_size. This should be an integer between
      1 and 12, where 12 corresponds to the width of the main text. By default, thumbnails are 50% of the text width.
      The use of even numbers is recommended to allow for centring of figures.
    • Use thumbnail: false in the YAML header to disable thumbnails entirely.
    • figcap_prefix, figcap_sep and figcap_prefix_highlight control the appearance of the figure label.
      tabcap_* options do the same for tables.
  • Support for links to anchors in child documents.
    • The objects used by reportMD to store information about child documents can be used to generate links to
      anchors, e.g. to headings or code chunks, in those documents. See the
      documentation for details.
  • Full support for MathJax (thanks to Patrick Schratz).