Skip to content

Conversation

@jhradilek
Copy link
Owner

@jhradilek jhradilek commented Jun 30, 2025

DITA 1.3 supports the <stepxmp> element which can be used to provide an example usage of a step. While this element does not allow titles like <example>, <stepxmp> is the logical choice for AsciiDoc example blocks inside of procedure steps.

Note: If this approach works, it should be applied to both task-generated.xsl and task.xsl.

Implementation checklist

  • The code changes come with the corresponding test cases
  • The code changes pass all tests (run python3 -m unittest in the project directory)
  • The code changes come with appropriate documentation

@jhradilek jhradilek self-assigned this Jun 30, 2025
@jhradilek jhradilek added the enhancement New feature or request label Jun 30, 2025
@jhradilek jhradilek marked this pull request as ready for review July 1, 2025 00:42
@jhradilek jhradilek merged commit 3e495b8 into main Jul 1, 2025
4 checks passed
@jhradilek jhradilek deleted the stepxmp-support branch July 1, 2025 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants