Skip to content

Conversation

@stanley2058
Copy link

This PR fixes two edge cases:

  1. In editor syntax highlighting breaks after block math syntax is being written inline:
    Normal case:

    ### Title 1
    $$
    f(y) = x + 1
    $$
    #### Title 2
    

    Broken case:

    ### Title 1 // This is normal
    Test before $$ f(y) = x + 1 $$ Test after
    #### Title 2 // This is not highlighted
    
  2. EOF delimiter not being correctly captured in shell/bash mode code block.

    sudo pacman -Syu
    
    cat <<EOF >> notes.txt
    This will be appended.
    $HOME will literally appear as "$HOME" because of the quotes.
    EOF
    
    pwd # this is treated as part of input to `cat`
    sudo pacman -Syu # this is treated as part of input to `cat`
    

This branch:

  1. image
  2. image

Copy link
Member

@Yukaii Yukaii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

スクリーンショット 2025-11-19 昼1 51 30 スクリーンショット 2025-11-19 昼1 51 46

@Yukaii Yukaii merged commit d5123ad into hackmdio:master Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants