Skip to main content

A simple markdown to html and webrenderTOP utility.

Project description

TouchDesigner Markdown Render

Implements mistune to render MD text in to HTML to display via WebRenderTOP.

Input 1 is the TextDAT containing the markdown.

Input 2 contains the CSS-Styling which can be overwritten. Default is

body {
  background: #fff;
  color: #333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

h1, h2, h3 {
  color: #222;
}

a {
  color: #0066cc;
}

pre, code {
  background: #f5f5f5;
  padding: 2px 4px;
  border-radius: 3px;
}

pre {
  padding: 10px;
  overflow-x: auto;
}

blockquote {
  border-left: 3px solid #0066cc;
  padding-left: 10px;
  color: #555;
  font-style: italic;

an can/should be adjusted to your liking.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tdp_markdownrender-0.0.1.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tdp_markdownrender-0.0.1-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file tdp_markdownrender-0.0.1.tar.gz.

File metadata

  • Download URL: tdp_markdownrender-0.0.1.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for tdp_markdownrender-0.0.1.tar.gz
Algorithm Hash digest
SHA256 1b40d058a1489d13d4b073ec82a09bb25a5e57f3fd8fca01fe5d92f63cd0ebca
MD5 0a654e37a758e45e847bad6de39b8ac3
BLAKE2b-256 195fa205120e5a30ca93d7ce9008f8d55a4cf4611628b3a9f089d31391037bd5

See more details on using hashes here.

File details

Details for the file tdp_markdownrender-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: tdp_markdownrender-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for tdp_markdownrender-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0860a384c7f78e234aa1c80eab30d724091cf8ec5c8d9d25678c2cbdf8dc9109
MD5 18d4325bf52a32f6885a15f385fc9ee5
BLAKE2b-256 9e2c9fcacf4e5bb9223dffbc58eaf65a3127e1d81e45730f72554777c4647e69

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page