Skip to content

@yihui yihui released this Jan 12, 2020 · 3 commits to master since this release

NEW FEATURES

  • Added an output format github_document2, which is a wrapper function based on markdown_document2 using rmarkdown::github_document as the base format (thanks, @jooyoungseo, #831).

BUG FIXES

MINOR CHANGES

  • The default value of base_format in the markdown_document2 format is rmarkdown::md_document now. Previously the default value is missing.
Assets 2

@yihui yihui released this Nov 22, 2019 · 20 commits to master since this release

NEW FEATURES

  • You can also add a "view" button on the GitBook toolbar, similar to the "edit" and "history" buttons, which shows the page's .Rmd source file on GitHub. Unlike "edit", "view" does not require the reader to login to GitHub and fork the repo (thanks, @jtr13, #806).

  • For gitbook output, the font setting button can be removed via fontsettings: false in the config option. Similarly, the info button can be removed by info: false in config (thanks, @mnazarov, #788).

  • It is possible to customize the prefixes of appendix titles in gitbook output now (the default is still A, B, C, ..., and now you can change them to something like Appendix A, Appendix B, ...); see the documentation at https://bookdown.org/yihui/bookdown/internationalization.html (thanks, @WerthPADOH, #783).

  • Added html_fragment2, html_notebook2, html_vignette2, ioslides_presentation2, slidy_presentation2, and beamer_presentation2 for cross-referencing capabilities on top of rmarkdown output formats (thanks, @jooyoungseo, #789 #823).

BUG FIXES

  • For the gitbook output format, disabling the sharing menu or buttons works again (thanks, @lwjohnst86, #812).

  • For the gitbook output format, toc collapsed by section now works with accents in chapter titles (thanks, @glimmerphoenix, @cderv, #819)

  • For output formats word_document2, powerpoint_presentation2, and odt_document2, $$ is no longer added to equation environments when they are inside fenced code blocks (thanks, @N0rbert, #814).

Assets 2

@yihui yihui released this Nov 12, 2019 · 42 commits to master since this release

BUG FIXES

  • Sharing to Facebook and Twitter is possible again. Google+ sharing has been disabled (with a warning) as this service no longer exists (thanks, @cderv, #802).

  • When using Pandoc 2.7.3 or later, footnotes are now placed again at the end of each chapter (#798, #801, thanks @cderv).

  • gitbook toolbar is not missing any more when rendering books with Pandoc 2.x and using self_contained = TRUE (thanks, @Pindar777, @RLesur, @cderv, #739).

Assets 2

@yihui yihui released this Oct 1, 2019 · 49 commits to master since this release

NEW FEATURES

BUG FIXES

  • Images specified in toc: before: of the gitbook format are not copied to the output directory (thanks, @dcossyleon, #763).
Assets 2

@yihui yihui released this Aug 21, 2019 · 61 commits to master since this release

NEW FEATURES

  • Added odt_document2 and powerpoint_presentation2 (thanks, @atusy, #742).

  • Added markdown_document2 which enables to use cross references in an arbitrary format specified in base_format argument (e.g., markdown_document2(base_format = prettydoc::html_pretty)) (thanks, @atusy, #742).

Assets 2

@yihui yihui released this Jul 11, 2019 · 70 commits to master since this release

MINOR CHANGES

  • Reverted #706 and removed the clean_highlight_tags argument in html_document2(); bookdown will no longer clean up the HTML tags of the syntax-highlighted code blocks.

BUG FIXES

Assets 2

@yihui yihui released this May 28, 2019 · 76 commits to master since this release

BUG FIXES

Assets 2

@yihui yihui released this May 11, 2019 · 84 commits to master since this release

NEW FEATURES

  • Added an argument clean_highlight_tags to html_document2() (thanks, @atusy, #706).

  • For HTML output formats such as gitbook, the abstract title (if the abstract is provided) can be customized via the field abstract-title in the YAML frontmatter (thanks, @XiangyunHuang, #715).

BUG FIXES

  • Split reference sections in gitbook ignored the sorting definition of the citation style (thanks @GegznaV #661, @crsh #674).

  • For the gitbook output format, the content doesn't get the focus when the page is loaded, which makes it fail to respond to keystrokes such as PageUp/PageDown/Up/Down (thanks, @darshanbaral #691, @aronatkins #699).

  • For the gitbook output format, when searching for keywords in code blocks, the automatic scroll to keywords doesn't work (thanks, @colearendt, #700).

  • The search keyword no longer persists across page loads for different books in the gitbook format (thanks, @aronatkins, #695).

  • The keybindings Up and Down (or Enter) in the search input of the gitbook output format work across all pages now; previously they only work on the current page (thanks, @dsblank, #657).

  • When performing searching, the gitbook sidebar will only display relevant TOC items that actually take users to the HTML pages containing the search keyword. Previously, some TOC items do not really take users to the search destination but an anchor on a page instead, which can be confusing (thanks, @aronatkins, #696).

  • Hyphenated words will be correctly highlighted in the search results now if spaces are used in the search keyword instead of dashes, e.g., you can search for hand-off using the keyword hand off (thanks, @aronatkins, #701).

  • When rmd_files is configured in _bookdown.yml, render_book() will fail if the output format is not HTML or LaTeX (thanks, Ladislas Nalborczyk, https://stackoverflow.com/q/56061122/559676).

  • The colon after figure/table numbers is missing in Word and EPUB output (thanks, @upton9265, #618).

  • Multiple labels on the same line are allowed for Word output (thanks, @mdlincoln @h-k-kan @brooksambrose, #538).

MINOR CHANGES

  • Added alt/hover text to icons on the gitbook toolbar (thanks, @aronatkins, #698).

  • Added an Information button to the gitbook toolbar to show the keybindings that are otherwise difficult for users to discover without reading the bookdown book (thanks, @aronatkins, #697).

  • Added information about the keybindings Enter/Up/Down to the placeholder text and tooltip of the search input in gitbook output (thanks, @pyltime, #660).

Assets 2

@yihui yihui released this Dec 21, 2018 · 122 commits to master since this release

BUG FIXES

  • The tags for OpenGraph titles in HTML output were not properly closed.
Assets 2

@yihui yihui released this Dec 4, 2018 · 126 commits to master since this release

NEW FEATURE

  • Added Conjecture to the list of theorem environments.

  • In addition to rmd_subdir: true, which searches all subdirectories, you can now provide a list of subdirectories to be recursively searched (#242).

  • Added an argument template to gitbook() and epub_book() (thanks, @ThierryO, #570).

  • Added an argument table_css to gitbook() to allow customized css for tables. (thanks, @haozhu233, #642)

  • You can also add a "history" button on the Gitbook toolbar, which is similar to the "edit" button, but shows the GIT history of a source file instead (thanks, @maelle #638, @noamross, #639).

  • Added a quiet argument to serve_book(), so that users can suppress stdout with bookdown::serve_book(quiet = TRUE) (thanks, @hammer, #633).

  • For HTML output, the title of the current chapter or section will be added to the page title (in the <title> tag). This will give readers more information when reading the results from search engines or Twitter cards. Previously, all pages would have identical titles (thanks, @benwhalley and @batpigandme, #544).

BUG FIXES

  • HTML output formats such as gitbook and html_document2 won't work when only unnumbered parts (i.e., # (PART\*)) are used (thanks, @tjmahr, #575).

  • Previously the rmd_files parameter in _bookdown.yml would override rmd_subdir, but now both parameters can be used simultaneously (thanks, @ellisvalentiner, #600).

  • Resources with URL encoded special characters are now correctly copied to the output directory (thanks, @AshesITR, #622).

  • serve_book() can now be used without error when rstudioapi is installed but RStudio is not being used (thanks, @jimhester, #637).

  • Text references via (ref:label) for bookdown::pdf_document() doesn't always work (thanks, @brendanf, #616).

Assets 2
You can’t perform that action at this time.