-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relative path in Org files does not link to raw files #12831
Comments
OK the code that deals with orgmode is: https://github.com/go-gitea/gitea/blob/master/modules/markup/orgmode/orgmode.go Likely this code: gitea/modules/markup/orgmode/orgmode.go Lines 77 to 103 in 6a1a633
Probably needs to have changed inspired by: gitea/modules/markup/markdown/goldmark.go Lines 80 to 110 in 6a1a633
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
[x]
):Description
In the example repo you can see org file in the master branch has the link https://try.gitea.io/0Pranav/vulkan-tutorial/src/branch/master/demo/vulkan.gif while in markdown the same link links to https://try.gitea.io/0Pranav/vulkan-tutorial/raw/branch/readme-test/demo/vulkan.gif, which results in the gif not being displayed in the org file
Screenshots
Markdown
Org
The text was updated successfully, but these errors were encountered: