Skip to content

Allow for blocks in <Example> or <Description> tags to not always include a blank line #36

@inspectorK

Description

@inspectorK

There is no way to add newline characters to examples or description tags. It would be helpful to be able to add newline characters to allow for generation of tables of possible output or example output. The only way to do this is to include a tag for each line, but this adds a blank line in between each line, causing readability to suffer.

I would like the PowerShell help file to include a table of possible output of a cmdlet. Something like:
image

This is the desired output formatting.

The associated MAML would be:
maml:paraPointID Timestamp Value
1 "1-Apr-2015 11:00:00" 100
2 "2-Apr-2015 12:00:00" 100
3 "3-Apr-2015 13:00:00" 100</maml:para>

However, this cannot be done with xmldoc2cmdletdoc, as it will generate:
maml:paraPointID Timestamp Value</maml:para>
maml:para1 "1-Apr-2015 11:00:00" 100</maml:para>
maml:para2 "2-Apr-2015 12:00:00" 100</maml:para>
maml:para3 "3-Apr-2015 13:00:00" 100</maml:para>

This causes the output to have unnecessary blank lines in between each line. Unfortunately I don't have a screenshot of the exact output for the case above, but it looks similar to:
image

I imagine quite a few other users would benefit from being able to properly format example output or tables within examples or parameter descriptions.

Let me know if I can provide any additional information

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions