SNIPPETklieret

Snippets

My snippets for obsidian

CSSAny theme
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/klieret/obsidian-snippets/main.svg)](https://results.pre-commit.ci/latest/github/klieret/obsidian-snippets/main)
[![Check Markdown links](https://github.com/klieret/obsidian-snippets/actions/workflows/check-links.yaml/badge.svg)](https://github.com/klieret/obsidian-snippets/actions/workflows/check-links.yaml)

# Snippets for Obsidian

This is a collection of the snippets that I use for [Obsidian][obsidian].
Some of them are contributed by various people and are credited in comments
on top of the file.

## Overview of the snippets

- `all-caps-internal-links.css`: Display internal links in all caps. This was
  originally a design feature by the [Sanctum][sanctum] theme, but got dropped in
  newer releases
- `no-underline-external-links.css`: Remove underline from external links
- `clean-embeds-all.css`: Make embeds blend into notes (Removes title, link, padding,
  margins from embeds, so they really look like the same note). This code is from
  Matthias C. Hormann (currently not working)
- `disable_strikethrough_checkbox.css`: Disable strikethrough for ticked checkboxes
  (authors are [mxmossy][] and [conname][])
- `highlight-bold-darkmode.css`: Highlight bold darkmode: Bold text in dark mode doesn't stand out very much, so
  this snippets makes it underlined and all-caps.
- `justified.css`: Justify all text in obsidian
- `bright_hrs_darkmode.css`: Make sure that `<hr/>`s show up bright in dark theme

[obsidian]: https://obsidian.md/
[sanctum]: https://github.com/jdanielmourao/obsidian-sanctum/

## License

All snippets that are authored by me and do not have a source pointed out in the
comments on top are licensed as MIT. For all others, follow the links to check
with their license.

[mxmossy]: https://forum.obsidian.md/u/mxmossy
[conname]: https://forum.obsidian.md/u/conname

How to Install

  1. Download the CSS file below
  2. Move it to your vault's .obsidian/snippets/ folder
  3. Open Obsidian → Settings → Appearance → CSS Snippets → Enable it
Download snippet.css

Stats

Stars

2

Forks

0

License

MIT

Last updated 6d ago

Tags

obsidian