Skip to content
Discussion options

You must be logged in to vote

This is something that is indeed specific to Github Markdown when deployed and rendered to HTML through Github. Links are relative to the repository or absolute.

I believe Pandoc is supposed to support this now with the non standard extension rebase_relative_paths See doc https://pandoc.org/MANUAL.html#extension-rebase_relative_paths and discussion in issue (jgm/pandoc#3752)

However, it seems this extension does not work with Quarto.

---
title: "First post"
format: 
  gfm:
    output-file: README.md
    from: markdown+rebase_relative_paths
---

Here's a plot:

```{r}
hist(rnorm(1000))
```

Which gives me

First post
================

Here’s a plot:

``` r
hist(rnorm(1000))
```

![](C:\Users…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wurli
Comment options

Answer selected by wurli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants