@blackbaud/skyux-builder-plugin-code-block

A SKY UX Builder plugin for code block component

Usage no npm install needed!

<script type="module">
  import blackbaudSkyuxBuilderPluginCodeBlock from 'https://cdn.skypack.dev/@blackbaud/skyux-builder-plugin-code-block';
</script>

README

@blackbaud/skyux-builder-plugin-code-block

npm status

This SKY UX Builder plugin converts the innerHTML of all <sky-code-block> elements to HTML entities. This is done to prevent Angular from resolving bindings, and to display HTML elements as text. This plugin is intended to be used with Stache Components.

Installation

npm install --save @blackbaud/skyux-builder-plugin-code-block

Usage

Open skyuxconfig.json and add the following:

{
  "plugins": [
    "@blackbaud/skyux-builder-plugin-code-block"
  ]
}