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

Bug: Indented Codeblocks are not dealt with properly #7

Open
mayurankv opened this issue Jul 8, 2023 · 2 comments
Open

Bug: Indented Codeblocks are not dealt with properly #7

mayurankv opened this issue Jul 8, 2023 · 2 comments
Assignees
Labels
bug Something isn't working future work To develop into the plugin Stale

Comments

@mayurankv
Copy link
Owner

Describe the bug

Codeblocks created by indentation are currently not correctly parsed in either reading or editing mode.

Steps to reproduce

Create a codeblock by indentation (indent 4 spaces and then type code).

    this is code

Expected behaviour

Indented codeblocks cannot have parameters set and are decorated the same as a codeblock with no parameters in reading and editing mode.

Current behaviour

Currently adding a line such as ```python fold ln:50 has these parameters applied in reading mode whilst they should not ideally.
Indented codeblocks are not styled at all in editing mode but they still recieve headers if they have codeblock delimiters.

Environment

  • Plugin Version: 1.0.0
  • Obsidian Version: v1.3.5
  • Platform: Desktop
  • OS: macOS

Screenshots

Additional context

@mayurankv mayurankv self-assigned this Jul 8, 2023
@mayurankv mayurankv added the bug Something isn't working label Jul 8, 2023
@mayurankv
Copy link
Owner Author

Use cm-hmd-indented-code to style in editing mode.

@mayurankv mayurankv added the future work To develop into the plugin label Jul 8, 2023
@github-actions github-actions bot added the Stale label Sep 10, 2023
@mayurankv mayurankv removed the Stale label Oct 24, 2023
Repository owner deleted a comment from github-actions bot Oct 25, 2023
Copy link

This issue is stale because it has been open 60 days with no activity.

@github-actions github-actions bot added the Stale label Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working future work To develop into the plugin Stale
Projects
None yet
Development

No branches or pull requests

1 participant