Replace Pencil

by penyt
5
4
3
2
1
Score: 51/100

Description

The Replace Pencil plugin allows dynamic text replacement within code blocks by using placeholders. Users can define a custom prefix in the settings and wrap any text they want to replace in the chosen placeholder format, such as angle brackets. In Reading Mode, an input field and a clear button appear beside the code block, enabling on-the-fly updates. A copy button simplifies exporting the modified content to the clipboard, while a sidebar eraser button resets all changes instantly.

Reviews

No reviews yet.

Stats

5
stars
242
downloads
0
forks
306
days
307
days
307
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

10 months ago

Changelog

README file from

Github

Replace Pencil -- Obsidian Plugin

This is a simple plugin for Obsidian that can let you easily replace the custom variable in the code block!

How to use?

  • Find and install replace-pencil plugin
  • In Settings -> Replace pencil, you can change placeholder prefix.
  • Just simply put any thing that you want to replace in <> (or any placeholder you set), in Reading Mode, the input slot and "Clear" button will appear.
  • Type into the input box, and it will automatically replace the words.
  • Press the "Copy" button at the right of the code block, the text that already replaced will be copied to your clipboard!
  • To reset everything, click the eraser button in the obsidian left sidebar. It will immediately reset everything.

DEMO

Initial Look: Initial Look

Replace Pencil Working: Replace Pencil Working

Donate

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Code Styler
3 years ago by Mayuran Visakan
A plugin for Obsidian.md for styling codeblocks and inline code
Obsidian Columns
4 years ago by Trevor Nichols
Numerals
3 years ago by RyanC
An obsidian plugin which turns a math code block into a full featured calculator
CustomJS
5 years ago by Sam Lewis
An Obsidian plugin to allow users to reuse code blocks across all devices and OSes
Codeblock Customizer
3 years ago by mugiwara
Codeblock Customizer plugin for Obsidian
Modal forms
3 years ago by Danielo Rodriguez
Define forms for filling data that you will be able to open from anywhere you can run JS
ABC Music Notation
5 years ago by Til Blechschmidt
Plugin which renders music notations from code blocks
Advanced Codeblock
4 years ago by Lijyze
An obsidian plugin that give additional features to code blocks.
ProgressBar
3 years ago by Wei Zhang
Code block plugin for Obsidian generating a progress bar
Embedded Code Title
5 years ago by tadashi-aikawa
It is an Obsidian plugin which can embeds title to code blocks.
MLIR Syntax Highlight
3 years ago by Lewuathe
Recipe Grabber
3 years ago by seethroughdev
HK Code Block
3 years ago by Heekang Park
Obsidian plugin developed by Heekang Park; Make code block looking good on reading view
Contextual note templating
2 years ago by Roman Kubiv
Contextual note templating with value input prompts configured in frontmatter.
CodeBlock Tabs
3 years ago by Jemin Mau
Create tab group for contiguous codeblocks.
Substitutions
2 years ago by BambusControl
Automatic text replacer for Obsidian.md
Collapsible Code Blocks
a year ago by Bradley Wyatt
Obsidian Plugin that makes code blocks collapsible in reading and edit view as well as enabling scroll-able code blocks.
Temple
5 years ago by garyng
A plugin for templating in Obsidian, powered by Nunjucks.
Auto Journal
3 years ago by Evan Bonsignori
Opinionated journaling automation like daily notes but with backfills for the days that you didn't open Obsidian.
CSV Codeblock
3 years ago by elrindir
Plugin for obsidian to render csv syntax in codeblocks.
Todo.txt Codeblocks
3 years ago by Benjamin Nguyen
Manage your tasks inside Obsidian codeblocks according to the Todo.txt specification.
Obsidian Handlebars Template Plugin
3 years ago by Sean Quinlan
This is a plugin for Obsidian adding support for the Handlebars template engine in Obsidian notes
Minitabs
2 years ago by ssjy1919
Obsidian tabs
Codeblock Template
3 years ago by Super10
A template plugin that allows for the reuse of content within Code Blocks!一个可以把Code Block的内容重复利用模板插件!
Replace All
2 years ago by Patrick Chiang
Auto Replacer
10 months ago by Alecell
A live text replacement plugin that applies automatic formatting, corrections, or custom replacements in real-time. Define your own regex-based rules and transformation logic to modify text dynamically as you type.
YAML Table
a year ago by dainakai
Command Line
a year ago by Steven Stallion
Copy command lines from your notes to the clipboard.
Code Blocks commands
8 months ago by dragonish
Provide commands to insert code blocks with markup, and support triggering commands with backticks.
Note Placeholder
a year ago by XZSt4nce
Replaces text of note link to placeholder in view mode.
Handlebars Dynamic Templating
3 months ago by Hide_D
Handlebars dynamic templating. Define template files and use them dynamically via hb blocks. Template recursion is also possible.