Lowdefy
v3.23.3/display/MarkdownWithCode/

MarkdownWithCode

Render markdown content with code highlighting support. Currently, the following languages are supported:

  • HTML: html
  • Java: java
  • Javascript: javascript, js, jsx
  • JSON: json
  • Markdown: markdown
  • Nunjucks: nunjucks
  • Python: python, py,
  • Typescript: typescript, ts,
  • XML: xml
  • YAML: yaml

For more details on markdown syntax see: Markdown cheat sheet.

Some JS Math:

  true + true; // -> 2
  (true + true) * (true + true) - true; // -> 3

Hmmm… 🤔

Fine the explanation here

id: block_id
type: MarkdownWithCode
properties:
  content: >
    ### Some JS Math:

    ```js
      true + true; // -> 2
      (true + true) * (true + true) - true; // -> 3
    ```

    Hmmm… 🤔


    Fine the explanation
    [here](https://github.com/denysdovhan/wtfjs#math-with-true-and-false)

properties:
Content in markdown format.
By default, HTML in markdown is escaped. When true all HTML code in the markdown will not be rendered.
Style to apply to Markdown div.
type: object
properties:
  properties:
    additionalProperties: false
    properties:
      content:
        description: Content in markdown format.
        type: string
      skipHtml:
        default: false
        description: >-
          By default, HTML in markdown is escaped. When true all HTML code in the
          markdown will not be rendered.
        type: boolean
      style:
        description: Style to apply to Markdown div.
        type: object
    type: object