Code Monkey home page Code Monkey logo

nvim-obsidian-stuff's Introduction

This is a repo containing some stuff that I use when writing my obsidian vault in neovim. It contains

  1. An obsidian syntax file for neovim
  2. Telescope plugin for creating links to files/heading/text blocks
  3. Telescope plugin to create links inside Mathjax inline or blocks!
  4. Telescope picker for files

This setup uses the following plugins:

  1. workspaces.nvim: activate obsidian stuff when entering wiki workspace
  2. telescope.nvim: picker for creating links to files/heading/text blocks (also works inside math), picker for opening files
  3. hologram.nvim: Previewing files inside of neovim & kitty
  4. clipboard-image.nvim: Pasting images inside of neovim
  5. Which-key.nvim: Creating bindings
  6. LuaSnip: for creating links inside math blocks
  7. vimtex: for fancy math syntax

Syntax & color theme

Math links

This setup includes a Telescope picker that creates mathlinks in obsidian using luasnip. At the beginning of each file there is a metadata mathlink tag where possible "math aliases" are stored. When using the telescope picker the mathlink gets input as a luasnip snippet.

mathlink metadata:

actual mathlink with preview: The code that is used to generate the math link is highlighted on the left, the output in obsidian is on the right. The pink highlighted markdown is being hovered over in the picture.

Note: In order to use the math links in obsidian see obsidian-mathlinks.

Todo

  • add more obsidian syntax

nvim-obsidian-stuff's People

Contributors

apmyplol avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.