knitr - inline code chunk of foreign engine

Viewed 52

I've written a knitr engine to process Maxima code (as part of a package), which works for "regular" chunks just fine, e.g.:

```{maxima}
1+1;
```

results in

(%i1) 1+1;
# (%o1) 2

However, when I try to get the output printed inline, such as

`maxima 1+1;`

It gets printed literally: maxima 1+1;

The R Markdown Cookbook explicitly says

inline: processing output from inline R expressions.

So I guess this is not meant be working (yet), but I wanted to ask here if there is a way to do this/ workaround before filing a feature request at github.

0 Answers
Related