Package: munch 0.0.2

David Gohel

munch: Rich Inline Text for 'grid' Graphics and 'flextable'

Renders rich inline text (bold, italic, code, links, images) in grid graphics and 'ggplot2', from markdown or 'flextable' chunks. Provides grobs, theme elements, and geometry layers for styled text rendering. Only works with graphics devices that support 'systemfonts', such as those provided by 'ragg', 'svglite', or 'ggiraph'. The 'cairo_pdf' device is also supported when fonts are installed at the system level.

Authors:David Gohel [aut, cre], ArData [cph]

munch_0.0.2.tar.gz
munch_0.0.2.zip(r-4.7)munch_0.0.2.zip(r-4.6)munch_0.0.2.zip(r-4.5)
munch_0.0.2.tgz(r-4.6-any)munch_0.0.2.tgz(r-4.5-any)
munch_0.0.2.tar.gz(r-4.7-any)munch_0.0.2.tar.gz(r-4.6-any)
munch_0.0.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
munch/json (API)

# Install 'munch' in R:
install.packages('munch', repos = c('https://ardata-fr.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/ardata-fr/munch/issues

Pkgdown/docs site:https://ardata-fr.github.io

On CRAN:

Conda:

5.92 score 10 stars 11 scripts 519 downloads 11 exports 69 dependencies

Last updated from:e942788590. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK215
source / vignettesOK215
linux-release-x86_64OK192
macos-release-arm64OK135
macos-oldrel-arm64OK141
windows-develOK133
windows-releaseOK153
windows-oldrelOK130
wasm-releaseOK124

Exports:as_paragraph_mdchunks_grobdefault_text_propselement_chunkselement_mdgeom_label_mdgeom_text_mdGeomLabelMdGeomTextMdmd_grobmunch_annotation

Dependencies:askpassbase64encbslibcachemclicommonmarkcpp11data.tabledigestdplyrevaluatefarverfastmapflextablefontawesomefontBitstreamVerafontLiberationfontquiverfsgdtoolsgenericsggplot2gluegtablehighrhtmltoolsisobandjquerylibjsonliteknitrlabelinglifecyclemagrittrmemoisemimeofficeropensslpatchworkpillarpkgconfigpurrrR6raggrappdirsRColorBrewerRcpprlangrmarkdownS7sassscalesstringistringrsyssystemfontstextshapingtibbletidyrtidyselecttinytexutf8uuidvctrsviridisLitewithrxfunxml2yamlzip

Advanced usage
Creating grobs with md_grob() | Basic usage | Positioning and justification | Automatic text wrapping | Creating grobs with chunks_grob() | Complex formatting | Colored and highlighted text | Configuring text properties | Available parameters | Integration with flextable theming | Embedding images | In markdown | With flextable chunks | Image baseline alignment | Using grobs in ggplot2 | Flextable integration

Last update: 2026-02-19
Started: 2026-02-19

Font recipes
Measurement vs rendering | Which devices agree with measurement? | systemfonts devices (recommended) | Cairo devices | Standard R devices and extrafont | Example: exporting a munch plot to PDF | Font sources at a glance | Diagnosing font problems

Last update: 2026-02-19
Started: 2026-02-19

Using munch with ggplot2
Simple markdown with element_md() | Advanced formatting with element_chunks() | The as_paragraph() vocabulary | Scientific notation | Colors and highlighting | Images in theme elements | Layout parameters | Text annotations with geom_text_md() and geom_label_md() | Text wrapping | Images in labels | Alignment accuracy | Choosing the right approach

Last update: 2026-02-19
Started: 2026-02-19