Skip to content
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

Add link in header #27

Open
Fred-Vatin opened this issue Oct 16, 2024 · 0 comments
Open

Add link in header #27

Fred-Vatin opened this issue Oct 16, 2024 · 0 comments

Comments

@Fred-Vatin
Copy link

Hi,

This feature is known as File Referencing in Code Styler.

It allows to add a link to open a local or external file or folder.

How it could work

All the ways to make a reference:

  • Local paths should be set as relative paths (i.e. ./path/from/current/folder)
  • Absolute paths starting from the root vault - indicated by @/ (i.e. @/vaultParent/file.py)
  • Markdown links (i.e. [[file.py]]).
  • Remote paths, should be set using a link to the file from the relevant site, i.e. [help](https://github.com/mayurankv/Obsidian-Code-Styler/blob/main/README.md)
```Title="Title may be different" ref=[My file](file:///E:/OneDrive/some-file.css)
some code…
``` 

In this case, the title is displayed first and the link display follows. If there is no title, only the title is displayed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant