youfoundjk_TeXcore/mkdocs.yml
Jovi Koikkara eea4d67e3e
feat(tikz): major rendering, layout, and editor enhancements (#1)
Fixes
- WebAssembly & initialization
  - Fix TikZJax WebAssembly initialization issues.

- Fonts & symbol rendering
  - Override DVI parser `machine.putText` to use split character code offsets from `tikzjax.js`.
  - Map codes 0–9 starting at 161 to fix incorrect Γ rendering (was showing as Θ).
  - Map codes 10–19 starting at 173 to resolve Ω and ⊗ collisions with soft hyphen.

- Layout & rendering
  - Fix SVG clipping by switching to `position: relative` with `overflow: visible`.
  - Adjust inline SVG behavior to prevent top-of-page clipping.

- Type compatibility
  - Cast types to `unknown` in `TikzJaxLoader` and worker functions for compatibility.

- Error handling & cleanup
  - Improve error handling across TikZ components.
  - Remove unused dependencies and unnecessary console logs.

Features
- Package loading system
  - Add robust dependency resolution in `loader.ts` for:
    - `tikz-cd`
    - `tikz-feynhand`
    - `pgfcalendar`
  - Ensure required libraries and keys load dynamically on demand.

- Rendering & layout improvements
  - Enhance SVG bounding box calculation.
  - Implement dynamic column width calculation.
  - Improve row and column layout alignment and responsiveness.

- TikZ editor enhancements
  - Add keyboard shortcut tooltips to sidebar buttons.
  - Introduce thickness control slider for elements.
  - Improve snapping system with modes:
    - grid
    - half
    - none
  - Add support for new shapes:
    - circles
    - rectangles
    - triangles
  - Improve TikZ code generation error handling.

Improvements
- Selection & editing UX
  - Add lasso selection for multiple vertices in `CanvasGrid`.
  - Support multi-element editing in `RightSidebar`.
  - Refactor `TikzEditorModal` to handle multiple selected vertices.
  - Enable batch updates for selected elements.

- Layout & styling
  - Compact `.block-language-tikz` layout:
    - margin: `1.5em 0` → `0.3em 0`
    - padding: `1rem 0` → `0`
  - Improve canvas controls and interaction styles.

- Component refactoring
  - Refactor `CanvasGrid` to use template literals.
  - Replace inline styles with `setCssStyles`.
  - Improve `TikzCodec` node naming clarity.
  - Improve `history manager` type safety with `EditorElement`.
  - Use `window.setTimeout` in asset manager for better compatibility.

- Accessibility & UI polish
  - Improve sidebar button titles and tooltips.
  - Standardize live preview overlay button titles.
  - Clean up modal styling and text consistency.

Documentation
- Revamp TeXcore plugin documentation:
  - Clarify PDF export features and settings.
  - Improve quick preview architecture explanation.
  - Enhance equation search and autocomplete docs.
  - Streamline snippets usage and transformations.
  - Expand TikZ diagrams section with graphical editor guide.
  - Improve getting started guide with clearer steps.
  - Add navigation and configuration updates.

- Update plugin manifest descriptions for clarity.
2026-06-06 12:08:11 +02:00

125 lines
3.3 KiB
YAML

site_name: TeXcore
site_description: A powerful indexing & referencing system for theorems & equations in your vault.
site_url: https://youfoundjk.github.io/TeXcore/
repo_name: YouFoundJK/TeXcore
repo_url: https://github.com/YouFoundJK/TeXcore
theme:
name: material
custom_dir: docs/overrides
font:
text: Work Sans
features:
- navigation.instant
- navigation.tracking
- navigation.indexes
- navigation.tabs
- navigation.tabs.sticky
- navigation.top
- search.suggest
- search.highlight
- content.code.copy
- content.code.select
- content.code.annotate
palette:
- media: '(prefers-color-scheme: light)'
scheme: default
primary: white
accent: indigo
toggle:
icon: material/toggle-switch-off-outline
name: Switch to dark mode
- media: '(prefers-color-scheme: dark)'
scheme: slate
primary: black
accent: indigo
toggle:
icon: material/toggle-switch
name: Switch to light mode
icon:
repo: fontawesome/brands/square-github
markdown_extensions:
- toc:
permalink: true
- admonition
- pymdownx.details
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.tabbed:
alternate_style: true
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.keys
- pymdownx.caret
- attr_list
- tables
- md_in_html
- pymdownx.arithmatex:
generic: true
extra_javascript:
- javascripts/mathjax.js
- https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js
- assets/javascripts/nav-section-links.js
- assets/javascripts/theme-logo.js
- assets/javascripts/analytics-events.js
extra_css:
- assets/stylesheets/site-polish.css
- assets/stylesheets/nav-section-links.css
- assets/stylesheets/custom-footer.css
plugins:
- search
- minify:
minify_html: true
- git-revision-date-localized:
enable_creation_date: true
type: datetime
- git-committers:
repository: YouFoundJK/TeXcore
cache_dir: .cache/plugin/git-committers
branch: main
extra:
analytics:
provider: custom
feedback:
title: Was this page helpful?
ratings:
- icon: material/emoticon-happy-outline
name: This page was helpful
data: 1
note: Thanks for your feedback!
- icon: material/emoticon-sad-outline
name: This page was not helpful
data: 0
note: Thanks for your feedback!
social:
- icon: fontawesome/brands/github
link: https://github.com/YouFoundJK/TeXcore
nav:
- Home: index.md
- Getting Started: getting-started.md
- Features:
- Overview: features/index.md
- Equation Numbering: features/equations.md
- PDF Export: features/pdf-export.md
- LaTeX Snippets: features/snippets.md
- Equation Search: features/search.md
- Quick Preview: features/quick-preview.md
- TikZ Diagrams: features/tikz.md
- Callout Support: features/callout-support.md
- Configuration:
- Overview: configuration/index.md
- Settings Reference: configuration/settings.md