z star
z star

Reputation: 712

Linking to other pages on Simple R markdown website

I'm developing a Simple R Markdown Website, and want to include a few links to other .Rmd generated HTML pages on the home page.

Simply, I want to open up "detailed-desc.html" which is rendered from "detailed-desc.Rmd", on clicking a text element on the "index.Rmd" file. I'm not sure how this can be done.

Upvotes: 1

Views: 747

Answers (1)

Andrew Brown
Andrew Brown

Reputation: 1065

If all your .Rmd files and their rendered HTML results are in the same directory, then you can use the regular markdown syntax and reference the HTML files for links.

[Detailed Description](detailed-desc.html)

Detailed Description

With a more complicated site folder structure, it is just

[Detailed Description](./path/to/your/folder/detailed-desc.html)

Detailed Description

Upvotes: 1

Related Questions