Yihui Xie

Results 1103 comments of Yihui Xie

If you avoid using `attr.*` options (the very simple case of `attr.source = 'language-r'` is fine; more complicated attributes are not), yes, `fuse()` will return CommonMark compliant output. I'll improve...

For now, the shell version would be: 1. Type `R` in the shell to start R. 2. Type `litedown::roam()`. Or ```sh R -e 'litedown::roam(open=TRUE);while(TRUE)Sys.sleep(.01)' # Ctrl + C to stop...

Yes, that would be nice and shouldn't be hard to write (especially on *nix). A true executable? When I said "a year" above, I meant "give me some time next...

Plots are captured after each top-level expression is evaluated. A `for` loop is a single top-level expression, so all plots are captured only after this loop is finished. For now,...

Sure: ```md Hello[^1] [^1]: A footnote. ``` should generate ```tex Hello\footnote{A footnote.} ``` Currently I'm generating ```tex Hello\footnotemark[1] \footnotetext[1]{A footnote.} ``` which is fine [but not ideal](https://tex.stackexchange.com/a/584731/9128).

Perfect! Thanks! In {litedown}, I converted `\footnotemark[x]` and `\footnotetext[x]{*}` to `\footnote{*}`.

The option `-P` is not available to `type` on macOS. I think we should use `command -v` instead.

Thanks for sharing the solution!