Skip to content

Markdownlint: more rules vol. 2#3148

Open
mnocon wants to merge 3 commits intomarkdownlint-more-rulesfrom
markdownlint-more-rules-even-more
Open

Markdownlint: more rules vol. 2#3148
mnocon wants to merge 3 commits intomarkdownlint-more-rulesfrom
markdownlint-more-rules-even-more

Conversation

@mnocon
Copy link
Copy Markdown
Contributor

@mnocon mnocon commented Apr 20, 2026

Adding more Markdownlint rules.

It's possible to review the changes commit by commit - each one introduces a new rule.

Some of them are still commented - but I want to keep this PR small to make it easier to review.

Please note d9deae3 - as the image field reference used to embed a file outside of snippets, it broke when the lines moved. I've extracted the code sample to avoid this happening in the future.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 20, 2026

Preview of modified files

Preview of modified Markdown:

@mnocon mnocon force-pushed the markdownlint-more-rules-even-more branch 5 times, most recently from b565655 to 0b456b7 Compare April 20, 2026 13:27
@mnocon mnocon marked this pull request as ready for review April 20, 2026 13:28
@mnocon mnocon requested a review from a team April 20, 2026 13:28
@ibexa-workflow-automation-1 ibexa-workflow-automation-1 Bot requested review from adriendupuis, dabrt and julitafalcondusza and removed request for a team April 20, 2026 13:28
@github-actions
Copy link
Copy Markdown

code_samples/ change report

Before (on target branch)After (in current PR)

code_samples/templates/field_twig_functions/render_content.html.twig


code_samples/templates/field_twig_functions/render_content.html.twig

docs/templating/twig_function_reference/field_twig_functions.md@38:``` html+twig
docs/templating/twig_function_reference/field_twig_functions.md@39:[[= include_file('code_samples/templates/field_twig_functions/render_content.html.twig') =]]
docs/templating/twig_function_reference/field_twig_functions.md@40:```

001⫶{{ ibexa_render_field(content, 'title') }}
002⫶
003⫶{{ ibexa_render_field(content, 'image', {
004⫶ 'template': '@ibexadesign/fields/image.html.twig',
005⫶ 'attr': {class: 'thumbnail-image'},
006⫶ 'parameters': {
007⫶ 'alias': 'small'
008⫶ }
009⫶}) }}

docs/templating/twig_function_reference/image_twig_functions.md@15:``` html+twig
docs/templating/twig_function_reference/image_twig_functions.md@16:[[= include_file('code_samples/templates/field_twig_functions/render_content.html.twig', 2, 9) =]]
docs/templating/twig_function_reference/image_twig_functions.md@17:```

001⫶{{ ibexa_render_field(content, 'image', {
002⫶ 'template': '@ibexadesign/fields/image.html.twig',
003⫶ 'attr': {class: 'thumbnail-image'},
004⫶ 'parameters': {
005⫶ 'alias': 'small'
006⫶ }
007⫶}) }}


code_samples/templates/field_twig_functions/render_product.html.twig


code_samples/templates/field_twig_functions/render_product.html.twig

docs/templating/twig_function_reference/field_twig_functions.md@42:``` html+twig
docs/templating/twig_function_reference/field_twig_functions.md@43:[[= include_file('code_samples/templates/field_twig_functions/render_product.html.twig') =]]
docs/templating/twig_function_reference/field_twig_functions.md@44:```

001⫶{{ ibexa_render_field(product, 'name') }}
002⫶
003⫶{{ ibexa_render_field(product, 'image', {
004⫶ 'template': '@ibexadesign/fields/image.html.twig',
005⫶ 'attr': {class: 'thumbnail-image'},
006⫶ 'parameters': {
007⫶ 'alias': 'small'
008⫶ }
009⫶}) }}

Download colorized diff

@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant