Simple Code Formatter
by SY
favorite
share
Description

The Simple Code Formatter plugin for Obsidian offers a straightforward way to format your code blocks with just a few clicks. It allows you to apply formatting to code in various languages such as JavaScript, CSS, HTML, Java, SQL, and more, using popular formatting tools like Prettier and js-beautify. To use it, simply place your cursor in the code block you wish to format, open the Command Palette, and select "Simple Code Formatter." The plugin ensures your code is neatly organized and readable, enhancing the development experience within Obsidian. Additionally, it supports syntax checking and gives users the option to bypass errors when necessary, making it flexible and reliable for various coding needs. This plugin is especially useful for anyone who frequently works with code snippets in their notes and wants a quick way to improve code presentation.

Latest Version
9 days ago
Changelog

Optimize: Change the indentation of java code to 4 Spaces

README file from
Similar Plugins
info
• Similar plugins are suggested based on the common tags between the plugins.
Format code blocks of various languages
3 years ago by iVariable
This plugin introduces commands to format code (internally uses prettier)
Execute Code
3 years ago by twibiral
Allows to execute code snippets within a note.
Code Block
2 years ago by Patrik Lindefors
A plugin that converts text into code blocks with automatic language detection.
Embed Code File
2 years ago by Abdullah Almariah
Embed code file from vault using code blocks
Code Preview
2 years ago by Hank
CodeBlock preview by file path
Code Emitter
2 years ago by YISH
An obsidian plugin that allows code blocks executed interactively in sandbox like jupyter notebooks. Supported language rust、kotlin、python、Javascript、TypeScript etc.
Code Files
2 years ago by Lukas Bach
Edit Code Files in Obsidian with VSCode's powerful Monaco Editor
HK Code Block
2 years ago by Heekang Park
Obsidian plugin developed by Heekang Park; Make code block looking good on reading view
Pieces for Developers
2 years ago by Pieces For Developers
Streamline your coding workflow in Obsidian with the Pieces For Developers plugin, offering powerful features for capturing, managing, translating, and enhancing code snippets. (Closed Source)
Code::Stats
a year ago by MiskaMyasa
The Code::Stats plugin allows you to track your coding progress and earn XP for writing markdown in the Obsidian editor.
InlineCodeHighlight
a year ago by Dimava
Highlight inline `'md **code**` blocks as well as you do the ```md **big**``` ones.
RunJS
a year ago by eoureo
RunJS is a plugin for running JavaScript code in Obsidian (https://obsidian.md).
VSCode Editor
a year ago by Sun Xvming
Edit Code Files like VSCode.
Discord Message Formatter
a year ago by Emile Durkheim
Trivially copy-paste a message from the Discord client into Obsidian and have it perfectly formatted for you.
Tag Formatter
10 months ago by snsvrno
Gives more options on how to display tags in preview mode.
Format with Prettier
10 months ago by Alex Gavrusev
Format files in your vault using Prettier.
Shiki Highlighter
9 months ago by Moritz Jung
Highlight code blocks with Shiki.
ruby.wasm
8 months ago by geeknees
Run ruby code in your notes using WebAssembly.
Prettier
6 months ago by GoodbyeNJN
Format your notes with Prettier and custom formatting options.
Interactive Code Blocks
6 months ago by Student Assistenten Team Deeltaken
Preview interactive code blocks!
Snippets Manager
4 months ago by Venkatraman Dhamodaran
Snippets manager with full mobile support. You can manage code snippets, infos like passport number, email signature or anything.
Prettier Format
3 months ago by Andrew Lisowski
Opinionated formatting for your notes.
Embedded Code Title
3 months ago by tadashi-aikawa
Embed a title in code blocks.
Stenography
3 months ago by bramses
Translate code blocks into simple English using Machine Learning with the Stenography API.
Code Language Completer
3 months ago by Stanley Wang
Autosuggests and completes codeblock language options based on history.
Snippetsaurus
a month ago by Christian Humbert
Create and managing text and code snippets.