atusy

Results 103 comments of atusy

I think the size of figures on RStudio IDE depend on dpi settings of displays. Also, even if within the same display, size of figures vary by the available frame...

I would suggest define custom format and tweak `post_processor` with `rmarkdown::output_format`. In this way, you do not have to write `knit` in YAML front matter.

Here's a tricky workaround ```` --- title: Hello World output: html_document: toc: TRUE toc_float: true toc_depth: 4 --- ```{css} .tabset h2 {display: none;} ``` # My header {.tabset} Tab 1...

@cderv You are right. My trick just shows ToC whose links are out of order. We need one (?) more trick by JS! Thanks for your help.

I made some hacks. With files below, you can navigate to tabsets from floating ToC. https://gist.github.com/atusy/4b076cc084d9e920b34d6d25f85e5176

I think the above trick needs lots more improvements which is still difficult for me. Alternatively, I implemented the feature in `minidown::mini_document`. Install it with `remotes::install_github("atusy/minidown")` and follow the directions...

Maybe we should consider consistent behaviors on formats with native `--number-sections` option. ``` --- output: html_document: number_sections: true number_offset: 3 --- # foo ```

> Maybe we should consider consistent behaviors on formats with native --number-sections option. done

@cderv Tow major difficulties are: 1. Navigation to the hidden tab from the ToC requires clicking twice. I tried `anchor.click(); anchor.click();`, but no luck. 2. Navigation to tabs when their...

Thanks @cderv for your insightful comments. I understand completeness is not always the priority and am fine to close this PR. Yet, let me tell you my minor use case....