11

I'd like to know if there is a way to have tabs (tabpanels) on Github in Markdown in the README.md.

My goal is to have something like this:

enter image description here

elect
  • 6,765
  • 10
  • 53
  • 119

1 Answers1

1

yes is possible using shinytabs in rmarkdown

see this page

http://scottshepard.io/markdown-pages-as-tabs-in-shiny/

rmarkdown is the most advance version of markdown that i saw

in github flavored markdown its impossible Except that you make a fork using jquery or bootstrap

I do not think it's possible in gfm I've seen it for markdown forks and only R It has those features

you can use ajax maybe

https://rstudio.github.io/shinydashboard/structure.html

you should see this post Is it possible to host interactive R Markdown files on Github Pages?

also

Community
  • 1
  • 1
user7412219
  • 134
  • 1
  • 3
  • 11
  • Pity that is not feasible in gfm, however thanks for your answer, really useful tips! – elect Jan 13 '17 at 08:13
  • 2
    Link is broken: http://scottshepard.io/markdown-pages-as-tabs-in-shiny/ –  Apr 12 '20 at 12:59