Wrap selected text in custom tags with shortcuts.

Overview

Obsidian Wrap With Shortcuts

Wrap the selected text in customized tags with shortcuts.

Underline is provided with Ctrl-u(Cmd-u) as default wrappers.

Procedure

Create a wrapper

Create a wrapper

Restart Obsidian, Go Settings -> Hotkeys

Remap a shortcut

Use the wrapper

Use the wrapper

Special Thanks

Support me

If you find this plugin helpful, consider supporting me:

Comments
  • [Feature Request] Order the Wrappers

    [Feature Request] Order the Wrappers

    I would like to order the wrappers to get the things more organized as I Use a lot of wrappers. So a thing like a UP/down button or something to drag them would be useful.

    opened by AtlcatlQ 2
  • wrap into code block feature request

    wrap into code block feature request

    I would like to wrap some text into a code block, which is currently done by placing ``` a line before and a line after the code:

    my code
    

    With your plugin I am able to put these ``` around the text, but it seems that for it to work properly they need to be on a separate line (one before my text and one after)

    Is there a way to do this right now? If not, would really appreciate this functionality. Thank you.

    opened by vuvuzelka 1
  • Customisation issues

    Customisation issues

    This is a great start. But I have trouble because it is not clear what the syntax for the shortcuts is. Could it be handled just in the hotkeys section of Obsidian? Also, it would be good to be able to edit the wraps, rather than delete and start over again.

    opened by kmaustral 1
  • [BUG] Cannot rename the wrappers properly

    [BUG] Cannot rename the wrappers properly

    First of all, I love your plugin, I use it a lot with MathJax.

    I've been having this little bug, and I can't rename the wrappers once set. I would love that you could resolve it.

    Thanks...

    opened by AtlcatlQ 0
  • Possibility to add a space at start or end of the tag

    Possibility to add a space at start or end of the tag

    I wanted to do something like start tag: - [ ]_ the underscore meaning a space end tag: _#todo this is to do todo list with a todo tag at the end useful for the "checklist" pluging but spaces are automatically removed I have 2 days of expérience with JS language (learning) but I modified the final js file (I don't find the equivalent in .ts) I removed the 3 .trim() and it's working fine So I don't do a pull request, hoping you understand my explanation and why it can be usefull With your plugin I created a underline hotkey, embed link hotkey and many other all with ctrl [1-9] et shift ctrl [1-9] and I used smarter markdown hotkeys too to have some toggling options the result is that I can have the same system that in notion. very efficient result and quick a better way again would be to have a small menu to have several entries for each shortcut. I'm learning js to maybe do it later. but I explain you my idea of developement

    opened by 1C0D 0
  • Plugin not working for toggling code

    Plugin not working for toggling code

    Thank you for your plugin. I would like to use it in order to toggle code, like this:

    image

    So, i use your plugin with : image

    as start tag, and: image

    as end tag. So it doesn't work, because this kind of formating needs a line break before and after the code.

    Is there a way to enter the 'enter key' in the start and end tag field ?

    Thank you in advance.

    opened by Blitzpulli 0
  • if one tag is empty don't cancel operation

    if one tag is empty don't cancel operation

    I did a little plugin to insert ↓↑ with a shortcut. but I realized I could do it, with your plugin. except if I fill only one tag, I have to put a space in the other one. It's not too much, but I guess without this condition, it wouldn't change too much the behavior. if tag empty, insert "". It could allow inserting special characters, or even successions of emoticons, like stars in front matter, for instance.

    opened by 1C0D 2
Releases(1.2.0)
Owner
Manic Chuang
Manic Chuang
Kuldeep 2 Jun 21, 2022
Linkify is a JavaScript plugin for finding links in plain-text and converting them to HTML tags.

Linkify Linkify is a JavaScript plugin. Use Linkify to find links in plain-text and convert them to HTML <a> tags. It automatically highlights URLs, #

Hypercontext 1.5k Dec 27, 2022
Wrap a function with bun-livereload to automatically reload any imports inside the function the next time it is called

bun-livereload Wrap a function with bun-livereload to automatically reload any imports inside the function the next time it is called. import liveRelo

Jarred Sumner 19 Dec 19, 2022
Wrap zod validation errors in user-friendly readable messages

zod-validation-error Wrap zod validation errors in user-friendly readable messages. Features User-friendly readable messages, configurable via options

Causaly 70 Dec 23, 2022
Create your own wrappings with optional key bindings for selected text, a set of useful defaults is also provided.

Create your own wrappings with optional key bindings for selected text, a set of useful defaults is also provided.

Seth Yuan 66 Jan 1, 2023
A vscode extension to quickly print variable, variable type, tensor shape etc by using shortcuts

Quick Python Print This repo is inspired by "Python Quick Print". "Python Quick Print" can quickly print out variables on the console by using shortcu

weida wang 5 Oct 28, 2022
Craftcuts - a Shortcuts eXtension for Craft

Craftcuts Welcome to the repository of Craftcuts my Shortcuts eXtension for Craft. Please read through the instructions, especially the installation c

FlohGro 35 Dec 31, 2022
A simple library for handling keyboard shortcuts with Alpine.js.

✨ Help support the maintenance of this package by sponsoring me. Alpine.js Mousetrap A simple library for handling keyboard shortcuts with Alpine.js.

Dan Harrin 102 Nov 14, 2022
Obsidian plugin to support a sequenced of keyboard shortcuts to run commands.

Sequence Shortcuts (Obsidian plugin) This plugin allows you to use a sequences of chords for shortcuts instead of single chords. Creating a hotkey You

Ruan Moolman 23 Dec 17, 2022
Browser extension to add more keyboard shortcuts to TweetDeck.

TweetDeck Shortcut Plus Browser extension to add more keyboard shortcuts to TweetDeck. Keyboard shortcuts Browse Browse tweet (default: alt+b) Browse

Ryo Nakamura 5 May 26, 2022
Browser extension to add more keyboard shortcuts to twitter.com.

Twitter Shortcut Plus Browser extension to add more keyboard shortcuts to twitter.com. Keyboard shortcuts Browse Browse links in background (default:

Ryo Nakamura 6 Jun 4, 2022
Easily create key board shortcuts for your JS functions. Built using JS only with no other dependency. Inspired from MacOS spotlight

floodlightjs Inspired from macOS spotlight, floodlight is simple JS library that will show a search area. How the search is handled is completely on y

Raj Nandan Sharma 6 Aug 12, 2022
 Shortcuts → Cloudflare Images → GitHub Action

shortcuts-cfimages-action This repository guides you through setting up a workflow to upload photos from your Apple device to Cloudflare Images, then

Mu-An Chiou 15 Sep 21, 2022
logseq custom.js and custom.css utilities : resize query table columns, hide namespaces...

logseq-custom-files custom.js and custom.css utilities for Logseq. current version v20220331 query table view : add handles on the query table headers

null 44 Dec 7, 2022
This experimental library patches the global custom elements registry to allow re-defining or reload a custom element.

Redefine Custom Elements This experimental library patches the global custom elements registry to allow re-defining a custom element. Based on the spe

Caridy Patiño 21 Dec 11, 2022
Ready to manipulate partitions file? Create a custom partition, apply custom security system, hide the partition and share your hidden data on the www

Paranoia ?? Ready to manipulate partitions file? Create a custom partition, apply custom security system, hide the partition and share your hidden dat

Alice Snow 3 Dec 29, 2022
Custom Gutenburg blocks to add custom functionalities to your WordPress site. Brought to you by Arif Khan with <3

Gutpress(WordPress Gutenburg Block Plugin) Custom Gutenburg blocks to add custom functionalities to your WordPress site. Brought to you by Arif Khan w

Arif Khan 4 Nov 23, 2022
Custom navigations for Solid written in Typescript. Implement custom page transition logic and ✨ animations ✨

solid-custom-navigation Get, Set, Go! Custom navigations for Solid, written in Typescript. Implement custom page transition logic and ✨ animations ✨ .

Dirag Biswas 8 Nov 27, 2022
Create Bootstrap 5 Modal Box using JavaScript with custom title, description, button labels and custom YES button callback

Dynamic BS5 Modal Box Create Bootstrap 5 Modal Box using JavaScript with custom title, description, button labels and custom YES button callback Insta

null 5 Oct 23, 2022