Skip to content

Conversation

@7576457
Copy link
Contributor

@7576457 7576457 commented Jan 25, 2026

Description

This PR fixes the examples in the documentation at: https://docs.flet.dev/controls/markdown/#basic-example

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist

  • I signed the CLA.
  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • New and existing tests pass locally with my changes
  • I have made corresponding changes to the documentation (if applicable)

Screenshots

image_2026-01-25_14-07-06

Summary by Sourcery

Fix Markdown control examples and associated documentation assets to use correct fenced code block syntax and media path references.

Documentation:

  • Correct Markdown fenced code block syntax in example files to properly specify languages and rendering.
  • Update Markdown documentation image reference to use the correct media path for the code syntax highlight example.

* fixed image path for code syntax highlight example
Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

We've reviewed this pull request using the Sourcery rules engine

@7576457 7576457 changed the title fix: Markdown examples in controls/markdown.md docs: Markdown examples in controls/markdown.md Jan 25, 2026
Formatted Dart code looks really pretty too:
```
~~~dart
Copy link
Contributor

Choose a reason for hiding this comment

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

Never seen such a syntax. Is ~~~ required when language has been specified?

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.

3 participants