All Projects → Benature → obsidian-text-format

Benature / obsidian-text-format

Licence: other
Format seleted text in Obsdidian.md

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to obsidian-text-format

obsidian-metatemplates
Take advantage of YAML front-matter in generating notes from templates (for obsidian.md)
Stars: ✭ 68 (+38.78%)
Mutual labels:  obsidian, obsidian-plugin, obsidian-md
obsidian-search-on-internet
Add context menu items in Obsidian to search the internet.
Stars: ✭ 79 (+61.22%)
Mutual labels:  obsidian, obsidian-plugin, obsidian-md
obsidian-budget-wysiwyg
Obsidian plugin that automatically switches between preview and source mode.
Stars: ✭ 25 (-48.98%)
Mutual labels:  obsidian, obsidian-plugin, obsidian-md
obsidian-embedded-note-titles
No description or website provided.
Stars: ✭ 50 (+2.04%)
Mutual labels:  obsidian, obsidian-plugin, obsidian-md
obsidian-url-into-selection
Paste URLs into selected text "notion style"
Stars: ✭ 129 (+163.27%)
Mutual labels:  obsidian, obsidian-plugin, obsidian-md
obsidian-rollover-daily-todos
An obsidian plugin that rolls over todo items from the previous daily note
Stars: ✭ 52 (+6.12%)
Mutual labels:  obsidian, obsidian-plugin, obsidian-md
obsidian-todoist-plugin
Materialize Todoist tasks in Obsidian notes
Stars: ✭ 521 (+963.27%)
Mutual labels:  obsidian, obsidian-plugin, obsidian-md
obsidian-podcast-note
A plugin for the note taking app Obsidian that lets you add podcast meta data to your notes.
Stars: ✭ 24 (-51.02%)
Mutual labels:  obsidian, obsidian-plugin, obsidian-md
obsidian-convert-url-to-iframe
Plugin for Obsidian.md to convert a selected URL to an iframe.
Stars: ✭ 132 (+169.39%)
Mutual labels:  obsidian, obsidian-plugin, obsidian-md
obsidian-icon-swapper
Allows swapping out Obsidian's icons
Stars: ✭ 30 (-38.78%)
Mutual labels:  obsidian, obsidian-plugin, obsidian-md
obsidian-query2table
Represent files returned by a query as a table of their YAML frontmatter (for obsidian.md)
Stars: ✭ 24 (-51.02%)
Mutual labels:  obsidian, obsidian-plugin, obsidian-md
obsidian-spaced-repetition
Fight the forgetting curve by reviewing flashcards & entire notes on Obsidian.md
Stars: ✭ 667 (+1261.22%)
Mutual labels:  obsidian, obsidian-plugin, obsidian-md
obsidian-emoji-toolbar
No description or website provided.
Stars: ✭ 35 (-28.57%)
Mutual labels:  obsidian, obsidian-plugin, obsidian-md
obsidian-core-search-assistant-plugin
An Obsidian plugin to enhance built-in search: keyboard interface, card preview, bigger preview
Stars: ✭ 59 (+20.41%)
Mutual labels:  obsidian, obsidian-plugin, obsidian-md
obsidian-tweet-to-markdown
An Obsidian.md plugin to save tweets as Markdown files.
Stars: ✭ 35 (-28.57%)
Mutual labels:  obsidian, obsidian-plugin, obsidian-md
oz-clear-unused-images-obsidian
Obsidian plugin to clear the images that are not used in note files anymore
Stars: ✭ 92 (+87.76%)
Mutual labels:  obsidian, obsidian-plugin, obsidian-md
obsidian-charts
Charts - Obsidian Plugin | Create editable, interactive and animated Charts in Obsidian via Chart.js
Stars: ✭ 177 (+261.22%)
Mutual labels:  obsidian, obsidian-plugin, obsidian-md
obsidian-readwise
Sync Readwise highlights into your obsidian vault
Stars: ✭ 79 (+61.22%)
Mutual labels:  obsidian, obsidian-plugin, obsidian-md
obsidian-tracker
A plugin tracks occurrences and numbers in your notes
Stars: ✭ 661 (+1248.98%)
Mutual labels:  obsidian, obsidian-plugin, obsidian-md
obsidian-link-archive
Link Archive plugin for Obsidian
Stars: ✭ 94 (+91.84%)
Mutual labels:  obsidian, obsidian-plugin, obsidian-md

Text Format

Obsidian Downloads GitHub stars

Sometimes I encounter some issues like

  1. I copy some text from pdf or some other source, but the copied content is out of format. For example, there are more than one space between words or one paragraph brokes into several lines.
  2. I want to lowercase the letters when they are all uppercase, etc.

Therefore, I wrote this plugin to format selected text lowercase/uppercase/capitalize/titlecase or remove redundant spaces/newline characters, and other features listed below.

Install this plugin right now: obsidian://show-plugin?id=obsidian-text-format

Features

Press cmd/ctrl+P to enter the command. 👇

Or you can consider to bind custom hotkeys to those commands.

Basic

Command Description
Lowercase selected text Lowercase all letters in selection
Uppercase selected text Uppercase all letters in selection
Capitalize all words in selected text Capitalize all words in selection
Capitalize only first word of sentence in selected text Capitalize only first word of sentence(s) in selection
Title case selected text Capitalize words but leave certain words in lower case in selection (Note: not support Cyrillic strings for now)

List

Command Description
Format bullet list Change into bullet list, i.e. - ; split every bullet point into single line; and remove blank lines.
Format ordered list Change *)(star could be any letter) into ordered list (e.g. 1. , 2. ); split every ordered point into single line; and remove blank lines.

PDF copy / OCR

Command Description
Remove redundant spaces in selection Ensure only one space between words
Remove blank line(s) replace \n\n with \n
Merge broken paragraph(s) in selection Change selected lines into single-line, except lines are separated by blank line(s). At the same time, blank lines will be merged into one blank line(optional, default enable), and redundant spaces will be removed(optional, default enable).
Remove hyphens Remove hyphens (like when pasting text from pdf) #15
Split line(s) by blanks Replace with \n for OCR use case.
Convert to Chinese character (,;:!?) For OCR use case.

Others

Command Description
Decode URL Decode URL for better reading and shorter url.
Convert single letter into math mode e.g. convert P into $P$ (latex), apply for all single letter except a.
Convert Mathpix array to markdown table Convert latex array generated by Mathpix to markdown table format
Convert table to bullet list The first volume is 1st list, other volumes are sub-list
Convert table to bullet list with header Sub-list begins with ${header}:
Zotero note format and paste

Zotero format

The format template can refer to https://www.zotero.org/support/note_templates

  • default
    • zotero: <p>{{highlight quotes='true'}} {{citation}} {{comment}}</p>
    • plugin config: “(?<text>.*)” \((?<item>.*?)\) \(\[pdf\]\((?<pdf_url>.*?)\)\)
    • result: {text} [🔖]({pdf_url})

Some Example

  • lowercase
    - Hello, I am using Obsidian.
    + hello, i am using obsidian.
  • uppercase
    - Hello, I am using Obsidian.
    + HELLO, I AM USING OBSIDIAN.
  • capitalize word
    - Hello, I am using Obsidian.
    + Hello, I Am Using Obsidian.
  • capitalize sentence
    - hello, I am using Obsidian.
    + Hello, I am using Obsidian.
      ^
  • title case
    - Obsidian is a good app.
    + Obsidian Is a Good App.
                  ^
  • redundant spaces
    - There  are so   many redundant      blanks
    + There are so many redundant blanks
  • merge broken paragraph
    - This paragraph is broken 
    - into several lines. I want 
    - those lines merged!
    - 
    - And this is second paragraph. There is a blank line between 
    - two paragraph, indicating that they should not be merged into 
    - one paragraph!
    
    + This paragraph is broken into several lines. I want those lines merged!
    +
    + And this is second paragraph. There is a blank line between two paragraph, indicating that they should not be merged into one paragraph!
  • bullet list
    - • first, blahblah • second, blahblah • third, blahblah
    
    + - first, blahblah 
    + - second, blahblah 
    + - third, blahblah
  • ordered list
    - a) first, blahblah b) second, blahblah c) third, blahblah
    - i) first, blahblah ii) second, blahblah iii) third, blahblah
    
    + 1. first, blahblah 
    + 2. second, blahblah 
    + 3. third, blahblah

demo

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].