How to make vertical scrollbar appear in RMarkdown code chunks (html view)

前端 未结 2 802
太阳男子
太阳男子 2021-01-02 09:20

I\'ve found many examples outlining how to add horizontal scrollbars to R Markdown HTML output, including this specific example here. However, none that describe how to add

2条回答
  •  星月不相逢
    2021-01-02 09:58

    The problem seems to be that you did not specify the height of the code chunk. Try this instead:

    
    

    (For information about the unit vh check this)

提交回复
热议问题