-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use dash instead of asterisk for unordered list items in generated Markdown #10
Comments
@david-waltermire-nist does Goal 2 imply that all ASCII 'bullet' signs including To permit all three markers raises a question as to the correct handling of mixed representations such as
The rule expressed at MD004 is designed to prevent this ambiguity, but we have no place in our processing chain to enforce the rule, meaning we need to define reasonable handling. If we treat them all as usable with the same meaning, the following Markdown would describe a three-item list with three items in a sub-list inside the first item:
Alternatively, we could settle on a single bullet (item marker) and have all OSCAL use that. This is what we have now except using To try and distinguish between valid (permissible) Markdown and invalid, implies we have a way to validate it over the JSON. |
@david-waltermire-nist if we had a unit test for Markdown conversion this Issue would be even easier to dispatch. Even without the unit test, let me know if you want |
Decided today to avoid questions regarding semantics of bullet styles and settle on a single marker: the hyphen Also on board:
NB: this will change JSON data where lists appear. Confirm which sample documents these are (which ones have any |
@wendellpiez Has this been done? |
Like #9, this Issue depends on a complete spec of the current Metaschema-supported Markdown subset, with which it needs to be aligned. It also depends on unit tests. Indeed, the Markdown unit tests probably already include tests for list conversion based on markers. |
User Story:
As an OSCAL content developer, I need to define OSCAL Markdown for unordered list items in a consistent way.
Goals:
-
consistently in Markdown for unordered list items.-
,+
, and*
to use properly indented-
characters.Dependencies:
None.
Acceptance Criteria
The text was updated successfully, but these errors were encountered: