quartabs 0.2.0
New features
render_tabset() gains an active argument
to choose the tab shown by default (Quarto’s .active class,
Quarto 1.7 or later). Each tabset column takes a value, or a function
such as max that picks the active tab under each parent tab
(#4).
Minor improvements
- Removed
{stats} from Imports; quartabs no longer
imports any packages.
- Documented that the tab order of
render_tabset() can be
controlled by factor levels,
e.g. factor(x, levels = unique(x)) to keep the order of
first appearance, with an example in the Get
started (#5).
- Documented that
render_tabset() cannot place plots
inside tab panels when the chunk label starts with fig-,
and added an example of cross-referenceable figures in each tab to the
Get
started (#6).
Bug fixes
render_tabset() no longer merges nested tabsets whose
parent tabs differ but read the same when joined with "_",
such as ("a", "b_c") and ("a_b", "c"). As a
result, a tabset column with missing values may now also contain the
string
"__####_THIS_IS_A_PLACE_HOLDER_FOR_MISSING_VALUE_####__",
which used to raise an error (#11).
quartabs 0.1.1
Breaking changes
- The
sort argument of render_tabset() has
been removed. The data is always sorted by
tabset_vars.
Minor improvements
- Added
{stats} to Imports.
- Added CITATION.
- Added a link to the Get
started page in the
render_tabset()
documentation.
- Minor edits to the Get
started documentation.
- Added CRAN and monthly downloads badges to README.
Bug fixes
render_tabset() now works correctly even if
tabset_vars contains missing values (#3).
quartabs 0.1.0
- Initial CRAN submission.
- New
render_tabset() takes a data frame as input and
outputs the markdown that generates the tabset
to stdout (console).