imshenshen / obsidian-sticky-heading Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Very useful plugin, thank you!
I typically edit my files in Source mode (not Live Preview), and have noticed that my cursor disappears when I get to a heading line.
I wasn't able to figure out why, but would like to have the option to display the cursor on those lines as well...
# first `second` third
will be displayed as
third
This addon is absolutely brilliant. Thank you for making it. ๐
Trying out your new plugin.
Works great in source
mode and live preview
mode.
However, it does not appear to work in the reading
view.
Is the plugin intended to work in reading
view?
This is exactly what I was looking for, coming over from Logseq there is a beautiful plugin that does exactly this is, and it's one of my favorite so it's nice knowing I can have it here too on Obsidian.
Thanks again!!
p.s. - i add to update the css because there was some overlap issue with Minimal theme
.obsidian-sticky-heading {
height: 60px;
line-height: 60px;
}
also it might not be a bad idea to add in plugin options to "hide" or "disable" the .obsidian-sticky-heading
E.g. if user is reading (as per topmost visible line) a text under heading2, show as sticky both heading1 and heading2
Would it be possible to add the headings' background color to the Style plugin settings?
Right now it's using --titlebar-background
, but I would prefer to revert it to --background-primary
Another setting I'd like to have is the possibility to hide the heading levels, or change their style. Out of the box, the conflict with my line numbers.
I created the following css snippet to do both these things, but a built-in option would be even better!
.obsidian-sticky-heading {
background-color: var(--background-primary); !important
}
.obsidian-sticky-heading::before {
content: ""; !important
}
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.