Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@tabasoft/atlaskit-code-diffable

atlassian4Apache-2.08.2.4

Renders inline code snippets and code blocks

atlaskit, react, ui

readme

Code

Renders inline code snippets and code blocks.

Installation

yarn add @tabasoft/atlaskit-code-diffable

Usage

Detailed docs and example usage can be found here.

changelog

@tabasoft/atlaskit-code-diffable

8.2.2

8.2.1

8.2.0

  • [minor] 10fe416:

    • Props Language should be required and surfacing more props for code

8.1.1

  • [patch] 84e8015:

    • Bump react-syntax-highlighter to 10.0.1

8.1.0

  • [minor] 26027dd:

    • Upgrade react syntax highlighter to version that ships its own async loaded languages and supports SSR

8.0.12

  • [patch] Inline code should wrap f1d9a54

8.0.11

  • [patch] Fix webpack 3 support for page & code 03af95e

8.0.10

  • [patch] Update babel config to transpile out dynamic imports for commonjs 2dae295

8.0.9

  • [patch] Adds missing implicit @babel/runtime dependency b71751b

8.0.8

  • [patch] Add some padding to the code without line numbers 67cd63d

8.0.7

  • [patch] Added yaml to supported languages for code and added styling for the key token. 95f9236

8.0.6

  • [patch] Async load highlighter languages 9102fa2

8.0.5

  • [patch] Upgrade react-syntax-highlighter again and use async loaded prism 260d66a

8.0.4

  • [patch] Upgraded react-syntax-highlighter to 8.0.2 7cc7000

8.0.3

  • [patch] Adds sideEffects: false to allow proper tree shaking b5d6d04

8.0.1

8.0.0

7.0.3

7.0.2

7.0.1

7.0.0

6.0.1

  • [patch] Add default theme prop to prevent Code throwing errors when no theme provider is given 07334bc
  • [none] Updated dependencies 07334bc

6.0.0

  • [major] Significantly reduce the bundle-size of @tabasoft/atlaskit-code-diffable by only supporting a subset of languages. Also introduces support for theming the content via @atlaskit/theme. AK-4536 eee2d45
  • [none] Updated dependencies eee2d45

5.0.4

5.0.3

5.0.2

5.0.1

5.0.0

4.0.4

4.0.3

  • [patch] Align font sizes for inline code, mentions and dates d2ef1af
  • [none] Updated dependencies d2ef1af

4.0.1

  • [patch] Get rid of outdent dependency 6a2c1d9

4.0.0

  • [major] Bump to React 16.3. 4251858

3.1.2

  • [patch] Plain text should not be rendered as markdown fe307dc

3.1.1

  • [patch] Re-releasing due to potentially broken babel release 9ed0bba

3.1.0

  • [minor] Update styled-components dependency to support versions 1.4.6 - 3 ceccf30

3.0.6

3.0.5

  • [patch] Packages Flow types for elements components 3111e74

3.0.4

  • [patch] Minor manual bump for packages desync'd from npm e988c58

3.0.3

  • Manual bump to resolve desync with npm package version.

3.0.2

  • [patch] Enabling syntax highlighter language auto-detect 4831bd2

3.0.1

  • [patch] Resolved low hanging flow errors in field-base field-text comment icon item and website, $ 007de27

3.0.0

  • [major] Moved to elements repo converted to flow typing, stripped out typescript types 235e392

2.2.1

  • [patch] Remove styled-components as a peerDependency from @tabasoft/atlaskit-code-diffable. 047032b

2.2.0

  • [minor] Add React 16 support. 12ea6e4