codeScheme
Type: <string>
Default: 'atom-dark'
Default: 'atom-dark'
It enables code syntax highlighting to beautify HTML markup under JSON/Text content type over the target url.
- CLI
 - JavaScript
 - Shell
 - Python
 - Ruby
 
const mql = require('@microlink/mql')
const { status, data } = await mql('https://emojipedia-api.vercel.app', {
  screenshot: true,
  codeScheme: 'atom-dark'
})
mql.render(data)The theme can be defined as:
- A prism-themesidentifier (e.g., 'dracula').
 - A remote URL (e.g., 'https://unpkg.com/prism-theme-night-owl').
 
You can also customize any theme passing your own styles rules.