Rubric or user-specified chunk types
daviddalpiaz opened this issue · comments
rubric = TRUE
to add comments that only appear in a*-rubric.pdf
document.xyz = TRUE
to add a user specified chunk and file type?
My thought on the next iteration is to define a custom markdown engine in a similar manner to how bookdown generates theorem
, definition
, lemma
, et cetera environments. May be a bit more robust than the current approach.
We could still add a flag for "xyz" tagging. Likely need to figure out the best way to specify how the flag should propagate to the two output results. Maybe create a document object with the intended overflags for each one?
The former is probably the way we should go. You raise a good point about tag propagation. Currently students are exposed to solution = TRUE
.
So, I've toyed around with this. The issue we'll run into with going from:
```{asis, solution = TRUE}
```
to:
```{solution}
```
is this assumes only text is being displayed. Having the solution = TRUE
flag allows us to still use the r
engine, e.g.
```{r, solution = TRUE}
```
How would you feel if I just removed the tagging architecture on the rendered Rmd files? (e.g. delete solution = TRUE
, et cetera.)
Just removing the tagging in the output is what I had in mind.