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

Reference Link component: Automatically use the icon of the target #669

Open
paralexm opened this issue Jan 3, 2024 · 1 comment
Open
Assignees
Labels

Comments

@paralexm
Copy link
Contributor

paralexm commented Jan 3, 2024

When using a reference link component, it automatically uses the label of the .md page as the link text. It would be very helpful if it could also automatically use the icon too.

With this getting-started.md:

---
icon: rocket
---
# Getting Started

A reference link specified like this:

[!ref](getting-started.md)

Would look like this:

image

@geoffreymcgill
Copy link
Contributor

Very good idea. We should be able to get this working.

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

No branches or pull requests

2 participants