This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
- Development:
npm run dev- Runs the webpack development server.
- Build:
npm run build- Creates a production build of the plugin.
This is a Logseq plugin for transforming blocks of text.
- Main Entrypoint:
src/index.tsxinitializes the plugin and its UI. - Core Logic:
src/block_handler.tscontains 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.