Skip to content

Releases: perinchiang/obsidian-plugins-smart-code-blocks

1.3.0

10 Jun 04:34

Choose a tag to compare

v1.3.0: Default native Obsidian style, custom appearance toggle, fixed plugin loading and reading mode borders.

1.2.0

10 Jun 03:50

Choose a tag to compare

Smart Code Blocks v1.2.0

Changes

  • Renamed from "Siyuan-style Code Blocks" to "Smart Code Blocks"
  • Auto empty line: New code blocks automatically get a blank body line, so you can always press Backspace to delete the entire block
  • Fixed reading mode: Removed stray border lines on code blocks in reading view

Features

  • Language pill with searchable picker (40+ preset languages + custom input)
  • Hover-to-show copy button and language label
  • Smart Ctrl/Cmd+A (select code block first, then all)
  • Chinese punctuation trigger (··· + Enter → code block)
  • Backspace deletes empty code blocks
  • Collapsed fence lines (``` hidden, header bar visible)
  • Customizable border radius and left padding
  • Bilingual UI (Chinese / English)
  • Mobile compatible (touch-optimized controls)