Skip to content
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

Add support for blockquote and table alignment in HTML <-> Markdown mapping #9

Open
6 tasks
david-waltermire opened this issue Jul 2, 2019 · 2 comments

Comments

@david-waltermire
Copy link
Collaborator

User Story:

As an OSCAL content developer, I need to be able to use <blockquote> in html and the equivalent > in markdown. I also need table alignment markup in Markdown :--- (left align) and ---: (right align) to be mapped to use of ` in HTML.

Goals:

  • Add support for <blockquote> in html and the equivalent > in markdown to the metaschema to the complex-markup data type.
  • Add support for table alignment markup in Markdown :--- (left align) and ---: (right align) to be mapped to use of <td align="left|right"> in HTML for the complex-markup data type.
  • Update prose documentation to include these features.

Dependencies:

Uses the type system added in issue usnistgov/OSCAL#436.

Acceptance Criteria

  • All OSCAL website and readme documentation affected by the changes in this issue have been updated. Changes to the OSCAL website can be made in the docs/content directory of your branch.
  • A Pull Request (PR) is submitted that fully addresses the goals of this User Story. This issue is referenced in the PR.
  • The CI-CD build process runs without any reported errors on the PR. This can be confirmed by reviewing that all checks have passed in the PR.
@david-waltermire david-waltermire transferred this issue from usnistgov/OSCAL Sep 11, 2020
@david-waltermire
Copy link
Collaborator Author

david-waltermire commented Mar 31, 2022

We should follow the CommonMark blockquote specification.

We may want to implement less than what CommonMark allows as well to make this easier to achieve.

@wendellpiez
Copy link
Collaborator

This Issue depends on a complete spec of the current Metaschema-supported Markdown subset, with which it needs to be aligned.

Can we have a flag for Issues related to Markdown?

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

No branches or pull requests

2 participants