Coder Social home page Coder Social logo

czottmann / obsidian-blockquote-levels Goto Github PK

View Code? Open in Web Editor NEW
33.0 2.0 1.0 2.41 MB

A plugin for Obsidian (https://obsidian.md) that adds commands for increasing/decreasing the blockquote level of the current line or selection(s).

Home Page: https://obsidian.md/plugins?id=zottmann

License: MIT License

Shell 19.07% JavaScript 19.99% TypeScript 60.95%
obsidian-md obsidian-plugin obsidian pkm

obsidian-blockquote-levels's Introduction

Plugin logo thingie: a chevron, a plus, a chevron

Blockquote Levels

This plugin for Obsidian adds commands for increasing/decreasing the blockquote level of the current line or selection(s).

Usage

The plugin introduces two new commands, "Blockquote Levels: Increase" and "Blockquote Levels: Decrease".

"Increase" adds a Markdown blockquote prefix (>) to the current line, the current selection or selections. Subsequent calls will add subsequent prefixes, thus increasing the quote levels.

"Decrease" removes the first Markdown blockquote prefix (>) from the current line, the current selection or selections. Mix'n'match is fine as each line is processed individually; when the selected lines sport different quote levels, only one prefix (>) is removed from each line (where present).

Out of the box the plugin doesn't set hotkeys, set them yourself as you see fit, or trigger the commands using the command palette. The World is your oyster!

Showcase

Showcase GIF

Bug Reports & Discussions

For bug reports please use this repo's Issues section — thank you!

I've moved all plugin discussions to the ActionsDotWork Forum which is a hub for both my Obsidian plugins and the macOS/iOS productivity apps I'm building: Carlo's Obsidian Plugins - ActionsDotWork Forum.

The forum supports single-sign-on via GitHub, Apple and Google, meaning you can log in with your GitHub account.

Installation

  1. Search for "Blockquote Levels" in Obsidian's community plugins browser. (This link should bring it up.)
  2. Install it.
  3. Enable the plugin in your Obsidian settings under "Community plugins".

That's it.

Installation via BRAT (for pre-releases or betas)

  1. Install BRAT.
  2. Add "Blockquote Levels" to BRAT:
    1. Open "Obsidian42 - BRAT" via Settings → Community Plugins
    2. Click "Add Beta plugin"
    3. Use the repository address czottmann/obsidian-blockquote-levels
  3. Enable "Blockquote Levels" under Settings → Options → Community Plugins

Development

Clone the repository, run pnpm install OR npm install to install the dependencies. Afterwards, run pnpm dev OR npm run dev to compile and have it watch for file changes.

Thanks to …

  • the obsidian-tasks crew for the "starter templates" for the GitHub Action workflow and the handy release.sh script

Author

Carlo Zottmann, [email protected], https://zottmann.org/

License

MIT, see LICENSE.md.

obsidian-blockquote-levels's People

Contributors

czottmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

cqpancoast

obsidian-blockquote-levels's Issues

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.