#code-formatting
View:
  • 1.
    Prettier
    8 months ago by GoodbyeNJN
    favorite
    share
    Score: 51/100
    Category: Customization & UI
    The Prettier plugin for Obsidian integrates Prettier's automatic code formatting capabilities directly into your Obsidian environment. This plugin supports multiple languages and formats, including Markdown, MDX, JavaScript, TypeScript, HTML, JSON, and more. It can format entire documents or selected content and offers automatic formatting on save or file change. Users can configure various formatting options such as tab width, semicolons, and trailing commas, and the plugin supports ignoring specific files or directories. It also provides customizable settings for formatting code blocks and removing unnecessary spaces in lists, ensuring a clean and consistent writing experience.
    View Plugin Details
  • 2.
    Format code blocks of various languages
    3 years ago by iVariable
    favorite
    share
    Score: 25/100
    Category: Coding & Technical Tools
    The Format code blocks of various languages plugin enhances Obsidian's code formatting capabilities by introducing custom commands to format code in several programming languages. Using Prettier, the plugin currently supports languages like JSON, YAML, HTML, GraphQL, and TypeScript. It automatically formats code blocks within your notes to ensure they are properly structured and easy to read. This tool is useful for developers and anyone working with code in Obsidian, improving code readability and reducing formatting errors. The plugin integrates seamlessly into the Obsidian environment with simple commands that can be easily accessed.
    View Plugin Details