@hashicorp/react-content

Styled prose content

Usage no npm install needed!

<script type="module">
  import hashicorpReactContent from 'https://cdn.skypack.dev/@hashicorp/react-content';
</script>

README

Content

Styling wrapper for content markup, typically used to render markdown content. Support a small number of customizations, as well as a variable product color to be used as an accent.

Props

  • content: A slot to render child elements
  • product [optional]: lowercase product name (vault, nomad, consul, terraform) - this will set link colors to the selected product color as defined in global-styles