zamsyt / obsidian-snippets Goto Github PK
View Code? Open in Web Editor NEWCSS snippets for Obsidian
License: The Unlicense
CSS snippets for Obsidian
License: The Unlicense
List marker positioning (ul
) in the first column is broken in reading view
Originally posted by @caglarongan in #5 (comment)
Awesome work! Is there a way to write below the columns after them or is the note completely split off into columns?
Is it possible to mark start and end of this multi-columns ?
So we can have notes like this:
It's like the only thing I miss from notion.
There are other snippets does this BUT I really like that this snippet doesn't leave any non-markdown-native or plugin-specific traces behind.
I wonder if something like this can be achieved with H6 headings? Because I never use them and they can naturally separate themselves from previous text; since they're... headings...
I'm not a dev, so I may be talking nonsense :')
List collapse indicator is in the wrong position in reading view.
Introduced by 0dbc9c7
This fix breaks rendering for regular (not in a callout) bullet list's folding triangle in Reading Mode
Screen.Recording.2024-03-19.at.01.24.24.mov
Originally posted by @caglarongan in #6 (comment)
I really love this snippet... Unfortunately I can't use it at the moment simply because I really rely on Make.md inline context view (it basically gives a nice interface for the yaml and file name at the top). I was wondering if there was an easy fix from your side about this?
The most obvious bug is that the on the right side you can't really select the text with the mouse near the top of the column. There are other ones that I can list in case you're interested. Thanks :D
Subj. Is it possible? Or a separate plugin is required?
Hello @zamsyt
A really big thank you for making this snippets. It has made my day.
The plugin works exceedingly well so far. However, I am just wondering if it is intended for the indents not to be carried over to the pdf export? AKA I can see the indents in preview mode fine, but when I export them to a pdf file, they fall back to how they are originally placed, rather than indented.
Thanks and looking forward to hearing from you.
In source mode, it is expected that nothing should work or change the rendering of, hence source. However, the multi column snippet continues to change the movement of text within source mode. This makes "setting up" new columns an aggravating experience.
Otherwise, I've been having a lovely time with the snippet. It makes stuff like emulating below possible. ❤️
If it is not a bug, then I'm thinking...
OS is MacOS
SYSTEM INFO:
Obsidian version: v1.3.5
Installer version: v1.3.5
Operating system: Darwin Kernel Version 22.5.0: Mon Apr 24 20:52:24 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T6000 22.5.0
Login status: logged in
Catalyst license: vip
Insider build toggle: on
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 48
Restricted mode: off
Plugins installed: 33
Plugins enabled: 0
So basically, in a sufficiently long note (where the --- \n ---
is at the end), when scrolling back up again (about 1.5x page height) the separator line disappears. I'm guessing the CSS of the double line simply gets unloaded. Maybe there's a way to prevent it from unloading?
Even if it's unsolvable, it isn't a deal breaker. Thought I'd just let you know :D
Add special handling for empty headings
This discussion started under another issue: #16 (comment)
Hello.
I tried to replicate and build the text formatting from your snippet. To build the snippet automatically from note's metadata. But as you see the CSS is not behaving in same way if it is inserted as text.
Do you have any ideas how to fix it? Possible with adding some CSS class?
I've started using the Indented Headers snippet, which I like quite a bit. However, I've noticed two things about it:
I've included a video: the first time I press the button is with the snippet disabled, which is the expected behavior. Second time is with snippet enabled, and it has me clicking random objects on the page and hitting ESC the moment after I click the button so you can see how long it takes to register that and leave the modal.
Right now, the workaround seems to be disabling the snippet, where I keep the indented headers but don't suffer from the drawbacks in the video.
Thanks so much! I'm taking a look at this as well, and if I can find out what's causing it, I'll update you here.
Hello,
I may have interest in using some of these snippets within a publish site, or in other works. Your other repositories have the Unlicensed, but I did not want to assume the same applied here. Could you please update this repo with your license of choice?
I was thinking can your code be adapted to show this view also when the note is embedded? Instead of seeing the whole note content I would like to see only the summary and image. Also I was thinking if we can get this running via DV.VIEW it will be nice to get the image automatically from the note's body like it is done here:
Columns don't work in reading view, write view ok
I'm sorry for bothering you.
Is it possible to make indents in the following form:
heading 1
some text
heading 2
some text
heading 3
some text
heading 3
some text
heading 2
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.