Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 807 Bytes

File metadata and controls

19 lines (13 loc) · 807 Bytes

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Commands

  • Development: npm run dev
    • Runs the webpack development server.
  • Build: npm run build
    • Creates a production build of the plugin.

Code Architecture

This is a Logseq plugin for transforming blocks of text.

  • Main Entrypoint: src/index.tsx initializes the plugin and its UI.
  • Core Logic: src/block_handler.ts contains the main logic for splitting and transforming blocks based on different modes and settings.
  • UI Components: The settings and toolbar are built with React. The main UI component is src/components/ToolbarApp.tsx.
  • Build System: The project is bundled using Webpack, with the configuration in webpack.config.js.