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

Syntax highlighting for YAML Premable does not work in ("Markdown"-type) Markdown code blocks. #103

Open
RokeJulianLockhart opened this issue Dec 20, 2024 · 0 comments

Comments

@RokeJulianLockhart
Copy link

RokeJulianLockhart commented Dec 20, 2024

Issue

  1. Summary

    Syntax highlighting for YAML Premable does not work in explicitly "Markdown"-type syntax-highlighted, Markdown code blocks:

  2. Screenshot

    Screenshot_20241220_134501

  3. Markup Source

    ~~~Markdown
    ---
    lang: "<code>eng-GBR-oxendict</code>"
      # [^Added]
    author:
      name:
        3rd: "Beedell"         # "Surname"
        1st: "Roke"            # "Forename"
        2nd: "Julian Lockhart" # "Middle name"
      email: "mailTo:[email protected]"
        # <section>
        #   <h2>
        #     Citation
        #   </h2>
        #   <p>
        #     <a href="https://app.addy.io/aliases/4c7718c1-0f47-429d-a6e5-235c15c68285/edit#:~:text=to%20your%20alias-,ef4uf956%40rokejulianlockhart.addy.io,-https%3A%2F%2Fgithub.com">
        #       <code>
        #         Addy.IO
        #       </code>
        #     </a>
        #   </p>
        # </section>
      summary: "https://wim.nl.tab.digital/apps/contacts/All%20contacts/e1f2ec5c-074e-4875-ac62-53ff24770ffa~contacts#:~:text=First-name-,Middle%20names,Surname,-Suffix"
    output:
      # [^Added]
      html_document:
      # [^Added]
        number_sections: true
        # [^Added]
        toc: true
        # [^Added]
        toc_depth: 6
        # [^Added]
    ---
    ~~~

Environment

  1. Extension

    Identifier: searking.preview-vscode
    Version: 2.3.17
    Last Updated: 2024-12-11, 20:12:25
  2. VS Code

      1. #!/usr/bin/env sh
        rpm -qa code
      2. code-1.96.4-1736991167.el8.x86_64
      1. #!/usr/bin/env sh
        dnf info --refresh code-1.96.4-1736991167.el8.x86_64
      2. Updating and loading repositories:
         Fedora 41 - x86_64 - Updates                         100% |  51.9 KiB/s |  24.1 KiB |  00m00s
         RPM Fusion for Fedora 41 - Nonfree tainted           100% |  50.0 KiB/s |   8.5 KiB |  00m00s
         Fedora 41 openh264 (From Cisco) - x86_64             100% |   3.3 KiB/s | 989.0   B |  00m00s
         google-chrome-canary                                 100% |   5.6 KiB/s |   1.3 KiB |  00m00s
         Copr repo for Koi owned by birkch                    100% |  10.0 KiB/s |   1.5 KiB |  00m00s
         Fedora 41 - x86_64                                   100% |  41.5 KiB/s |  26.8 KiB |  00m01s
         RPM Fusion for Fedora 41 - Nonfree - Updates         100% |  20.2 KiB/s |   8.6 KiB |  00m00s
         RPM Fusion for Fedora 41 - Nonfree                   100% |  62.1 KiB/s |   9.2 KiB |  00m00s
         RPM Fusion for Fedora 41 - Free tainted              100% |  23.3 KiB/s |   7.9 KiB |  00m00s
         ProtonVPN Fedora Beta repository                     100% |  16.8 KiB/s |   3.7 KiB |  00m00s
         RPM Fusion for Fedora 41 - Free                      100% |  19.1 KiB/s |   8.5 KiB |  00m00s
         Visual Studio Code                                   100% |  15.3 KiB/s |   1.5 KiB |  00m00s
         RPM Fusion for Fedora 41 - Free - Updates            100% |  66.1 KiB/s |   8.0 KiB |  00m00s
         warpdotdev                                           100% |   8.4 KiB/s |   1.5 KiB |  00m00s
         google-chrome-canary                                 100% |   8.0 KiB/s |   3.2 KiB |  00m00s
        Repositories loaded.
        Installed packages
        Name            : code
        Epoch           : 0
        Version         : 1.96.4
        Release         : 1736991167.el8
        Architecture    : x86_64
        Installed size  : 381.7 MiB
        Source          : code-1.96.4-1736991167.el8.src.rpm
        From repository : @stored_transaction
        Vendor          : Microsoft Corporation
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