Skip to content

Markdown attributes #487

Closed
Closed
@farnabaz

Description

@farnabaz

As a proposal we did create markdown syntax to create inline span with customizable attributes.
And we discussed about the possibilities, so we can move beyond this feature and introduce a new syntax to add attributes for other markdown components. like links, images and inlines codes

We should add attributes to markdown components by adding {...attributes} at the end of its definition.

**Bold**{.text-primary-500}

_Italic_{.text-primary-300}

`code`{style="color: yellow"}

`[span]{style="color: green"}

![Image](/icon.png){.bg-primary-500 .inline .w-8 .h-8}

[Link](#href){#id style="color: tomato"}

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions