Setup an icon for headings #434
ashkheid-zz
started this conversation in
Ideas
Replies: 1 comment
-
I know there's a trick for this: ---
icon: ":hammer_and_wrench:"
title: PreRequisites
---
# :hammer_and_wrench: PreRequisites
Some paragraphs written here ...
Adding a title would do what I wanted to have, but as ReType mentioned "better not to use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Let's assume that we have an
md
file named "Prerequisites" structed as below:This page will indexed in the sidebar as "🛠️ Prerequisites"
and
when you open the page, you'll see something like this:
----------==preview starts==----------
Prerequisites
Some paragraphs written here ...
----------==preview ends==----------
as we can see, I didn't add any headings to my markdown BUT ReType uses the filename of the markdown file (
Prerequisites.md
) as it's heading; looks like my markdown begins with# Prerequisites
.What I want is an option or two, appending the configured page-icon to the very first
h1
of the page.like:
----------==What I want to add to my markdown==----------
----------==What I expect too see as the result==----------
🛠️ Prerequisites
Some paragraphs written here ...
----------============----------
💡 Extending the idea
And to conclude my suggested idea, the
header-icon
property can accept an Octicon, an emoji-shortcode, asvg
code, and a link or a path to a graphical file (.svg
,.png
,.jpg
,.ico
) in addition to Boolean I just mentioned in my example.Beta Was this translation helpful? Give feedback.
All reactions