HTMLtoMD

Converts HTML to Markdown.

python · Common Scripts

Details

IDHTMLtoMD
Languagepython
From Version5.0.0
Docker Imagedemisto/btfl-soup:1.0.1.10120494

README

Converts HTML to Markdown.

Script Data


Name Description
Script Type python3
Cortex XSOAR Version 5.0.0

Inputs


Argument Name Description
html HTML to convert to Markdown.
escape_misc When set to False, will skip escaping of miscellaneous punctuation characters such as &, +, -.

Outputs


Path Description Type
HTMLtoMD.Original The original HTML that was converted to Markdown. String
HTMLtoMD.Result The Markdown that was converted from the passed HTML. String
args:
- default: true
  description: HTML to convert to Markdown.
  name: html
  required: true
- auto: PREDEFINED
  description: 'When set to False, will skip escaping of miscellaneous punctuation characters such as &, +, -.'
  name: escape_misc
  predefined:
  - 'true'
  - 'false'
  default: true
comment: Converts HTML to Markdown.
commonfields:
  id: HTMLtoMD
  version: -1
enabled: true
name: HTMLtoMD
outputs:
- contextPath: HTMLtoMD.Original
  description: The original HTML that was converted to Markdown.
  type: String
- contextPath: HTMLtoMD.Result
  description: The Markdown that was converted from the passed HTML.
  type: String
script: '-'
timeout: '0'
type: python
tags: []
dockerimage: demisto/btfl-soup:1.0.1.10120494
runas: DBotWeakRole
subtype: python3
tests:
- Test_HTMLtoMD
fromversion: 5.0.0