Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚙️ Refactor plugin code #177

Open
9 of 18 tasks
OXY2DEV opened this issue Oct 11, 2024 · 0 comments
Open
9 of 18 tasks

⚙️ Refactor plugin code #177

OXY2DEV opened this issue Oct 11, 2024 · 0 comments
Assignees

Comments

@OXY2DEV
Copy link
Owner

OXY2DEV commented Oct 11, 2024

⛳ Goal

Make the code easier to understand, separate different parsers & renderers, provide more control over what gets rendered, make everything easier to maintain & extend etc.

📝 Tasks

  • Group various configuration options based on their parser/function.
  • Provide a good way to modify deeply nested options.
  • Fix parsers,
    • Markdown.
    • Markdown inline.
    • LaTeX.
    • HTML.
    • Typst.
  • Fix renderers,
    • Markdown.
    • Markdown inline.
    • LaTeX.
    • HTML.
    • Typst.
  • Improve documentation & code readability.
  • Revise lua patterns & conditions.
  • Revise redraw mechanic(s).
  • Fix performance issues on slower devices(e.g. Android).
@OXY2DEV OXY2DEV self-assigned this Oct 11, 2024
OXY2DEV added a commit that referenced this issue Nov 3, 2024
OXY2DEV added a commit that referenced this issue Nov 3, 2024
OXY2DEV added a commit that referenced this issue Nov 3, 2024
OXY2DEV added a commit that referenced this issue Nov 3, 2024
You can now specify the types of things not to clear. This is done via
multiple namespaces instead of 1.

This can be disabled too.

Ref: #177
OXY2DEV added a commit that referenced this issue Nov 3, 2024
OXY2DEV added a commit that referenced this issue Nov 3, 2024
OXY2DEV added a commit that referenced this issue Nov 3, 2024
This is done to make everything easier to maintain & help others
understand plugin code in general.

Ref: #177
OXY2DEV added a commit that referenced this issue Nov 4, 2024
OXY2DEV added a commit that referenced this issue Nov 4, 2024
OXY2DEV added a commit that referenced this issue Nov 6, 2024
Highlights can now be directly modified from the config table.

Ref: #177
OXY2DEV added a commit that referenced this issue Nov 6, 2024
OXY2DEV added a commit that referenced this issue Nov 6, 2024
Literal `%` in strings no longer turn into `^@%`. Fixes alignment issues
of tables & widtb calculations.

Ref: #75, #177
OXY2DEV added a commit that referenced this issue Nov 6, 2024
This fixes width calculation issues of escaped characters inside of $$.

Ref: #177
OXY2DEV added a commit that referenced this issue Nov 6, 2024
Scope is now properly highlighted.

Ref: #177
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant