Skip to content

Embed raw GitHub URL #536

@ciro-mota

Description

@ciro-mota

Is your feature request related to a problem? Please describe.
In my search for an attempt to have a code block reflect all the modifications made directly to a repo on GitHub, I found this function that returns the content of a file via a shortcode using the raw URL.

However, in this theme, it only works with the light theme and without syntax highlighting. It is also not compatible with the marking of the type of code defined in the .md file using three quotation marks (```bash).

Describe the solution you'd like
I would like to be able to use this shortcode with the desired language markup in the .md file. Example (``` bash)

Additional context
Below are images showing what happens with the light theme and the dark theme.

2025-01-11_15-01
2025-01-11_15-01_1

Metadata

Metadata

Assignees

Labels

awaiting-replyIssue is awaiting reply by AuthorenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions