Code Monkey home page Code Monkey logo

obsidian-text-aligner's Introduction

Text Alignment Plugin for Obsidian

Text Alignment is a plugin for Obsidian that provides a convenient way to justify text with a single click.

Features

  • Adds a status bar item with a "Justify" button.
  • Clicking the "Justify" button in the status bar applies text alignment to the active Markdown view.
  • Supports text alignment for paragraphs, excluding code blocks, headings, and bullet points.

Installation

  1. Download the latest release from the GitHub releases page.

  2. Extract the ZIP file into your Obsidian vault's plugins folder. The folder structure should look like this:

vault
└── .obsidian
└── plugins
└── text-alignment-plugin
├── main.js
├── styles.css
└── manifest.json

3. Enable the plugin in Obsidian's settings.

Usage

  • After installing the plugin, a "Justify" button will appear in the status bar.
  • Click the "Justify" button to apply text alignment to the active Markdown view.

Development

If you want to contribute or modify the plugin:

  1. Clone this repository.
  2. Run npm i to install dependencies.
  3. Make your changes to the main.ts file.
  4. Run npm run dev to compile the TypeScript code.
  5. Reload Obsidian to see your changes.

Support

If you encounter any issues or have suggestions, feel free to open an issue.

License

This plugin is licensed under the MIT License.

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.