Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Drag and Drop blocks to move, copy and create block references.

Notifications You must be signed in to change notification settings

GitMurf/obsidian-drag-and-drop-blocks

Repository files navigation

GitHub latest release GitHub All Releases

IMPORTANT NOTE - As of September 2022 this plugin is Deprecated and no longer under Development

See details here: #36 (comment)

Drag and Drop Blocks plugin Overview

This is a plugin for Obsidian (https://obsidian.md).

Drag and Drop Blocks for actions such as moving and copying blocks, as well as creating block references by dragging.

*Note: Anywhere the term "block" is referenced it is synonymous with a "line" of text, a bullet in a list, a Header section, or a Markdown "block" of text.

Instructions

Requirements

How to use

  • Drag block (no modifier) = move block
  • Alt/Option + Drag = create a block reference
  • Shift + Drag = copy the block
  • Alt + Shift + Drag = copy the text of the block and also add a alias link back to the source block

Demo

Need to add a demo here...

Features

  • Copy a block
  • Move a block
  • Create a block reference
  • Copy text and include an alias link back to the source block
  • Copy search results by dragging results into your notes
  • Create block reference by dragging search results into your notes while holding Alt

Details

Need to add some details and use cases here

General Obsidian Documentation

Manually installing the plugin

  • Copy over main.js, styles.css, manifest.json to your vault VaultFolder/.obsidian/plugins/your-plugin-id/.

API Documentation

See https://github.com/obsidianmd/obsidian-api

Test one

test two

skip to number 4

this is 3

4 again back down

back to 2

another 2

and one again

two again