I have a shiny app with various chunks of text in markdown formatted files. In other contexts I would parameterise those files and use the m4 macro processor to do the substitutions.
The code would be something like markdown(read_file(pipe("m4 markdownfile.md")))
This needs m4 installed to work. Is it installed on shinyapps.io? Or perhaps there is another way of achieving the same goal ... parameterised files of text.
Here is my testing m4defs.txt. It allows for example to have notes in my files that
don't display on the Shiny app. The full power of m4 is available. The definition of
divert isn't obvious ... if you don't have it, using the word divert can cause problems. A bad design flaw in m4!