Skip to content

Improve error output of the embedding instruction parser#37

Merged
Vladyslav-Kuksiuk merged 5 commits into
masterfrom
fix-fence-exception
May 25, 2026
Merged

Improve error output of the embedding instruction parser#37
Vladyslav-Kuksiuk merged 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
Copy link
Copy Markdown
Collaborator

@dmytro-kashcheiev dmytro-kashcheiev left a comment

Choose a reason for hiding this comment

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

@Vladyslav-Kuksiuk Vladyslav-Kuksiuk merged commit a3d19b7 into master May 25, 2026
3 checks passed
@Vladyslav-Kuksiuk Vladyslav-Kuksiuk deleted the fix-fence-exception branch May 25, 2026 08:48
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

2 participants