Skip to content

Improve error output of the embedding instruction parser#37

Open
Vladyslav-Kuksiuk wants to merge 5 commits into
masterfrom
fix-fence-exception
Open

Improve error output of the embedding instruction parser#37
Vladyslav-Kuksiuk wants to merge 5 commits into
masterfrom
fix-fence-exception

Conversation

@Vladyslav-Kuksiuk
Copy link
Copy Markdown
Collaborator

@Vladyslav-Kuksiuk Vladyslav-Kuksiuk commented May 21, 2026

This PR improves the error output of the embedding instruction parser:

  • Error when start/end pattern cannot be found:
    <embed-code file="$test/Hello.kt" start="not existing pattern">
    </embed-code>
    ```kotlin
    ```
    
    image
  • Error when markdown fence is not started/finished after embedding instruction
    image
    image

Resolves this issue

@Vladyslav-Kuksiuk Vladyslav-Kuksiuk self-assigned this May 21, 2026
@Vladyslav-Kuksiuk Vladyslav-Kuksiuk marked this pull request as ready for review May 21, 2026 12:01
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

Successfully merging this pull request may close these issues.

Quote problematic embed-code command when error occurs

1 participant