dendron icon indicating copy to clipboard operation
dendron copied to clipboard

hash comments in code block are wrongly taken as hashtag in editor

Open bigheadghost opened this issue 3 years ago • 1 comments

Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

  • [x] Workspace. VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
  • [ ] Lookup. Dendron's Lookup Command
  • [ ] Views. Dendron Preview, Tree View, Side Panels in the UI
  • [ ] Schema. Dendron Schemas
  • [ ] Pod. Data import from / export to Dendron
  • [ ] Publish. External Site Publish
  • [ ] Markdown. Markdown features, such as syntax support and features

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. new note with python code block
```py
xxxxx xxxxxxxxxxxxxxxxxxx
    xxx xxxxxxxxxxxxxxx xxxxxxx
        xxxxxx
        xxx xxxx xx xxxxxx
            # xxxxxxxxxx
            xx xxxxxxxxxxxxxxxxxxxxx xxxxxxxx xxx xxxxxxxxxxxxxxxxxxxxx xxxxxxxx x
                    xxx xxxx xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxx
                # xxxxxxxxxxxxxxx xxxxxxxx
        xxxxxx xxx

    xxx xxxxxxxxxxxxxxxxxxx xxxxxxx
        xxx x xx xxxxxxxxxx
            xx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxx
                # xxxxx xxxx
                xx xxxxxxxxxxxxxxxxxxxxx xxx
                    xxxxxxxxxx xx  # xxx
                xxxxx
                    xxxxxxxxxx xx  # xxxx
            xxxxx
                xxxxxxxxx  xx  # xxxxx
        xxxxxx xxx
#xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
\```  please remove the leading \
  1. Scroll down to last two lines and forth back the see

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

click to see screenshot

Desktop (please complete the following information)

  • OS: win10
  • Browser (if with published websites; include version): [e.g. chrome, safari]
  • Versions (all that apply to bug):
    • Dendron Extension: 0.110.0
    • VS Code version: 1.70.2
    • Dendron CLI:

Additional context

Add any other context about the problem here.

Dendron Log file

Please attach the output of > Dendron:Dev: Open Logs here

bigheadghost avatar Sep 03 '22 03:09 bigheadghost

can reproduce. thanks for the issue, we'll update this ticket when we have a fix merged

kevinslin avatar Sep 06 '22 15:09 kevinslin