Skip to main content

DPF Mechanical 2026 R1

markdown_latex_example class

Last update: 18.06.2026

Namespace: Ans.DataProcessing.operators.info

Summary

This operator showcases the use of Markdown and LaTeX in operator and pin descriptions:

Headings

h2

h3

h4

h5

Text

This should result in a paragraph

it's that simple.

italic, bold

Lists

  • an unordered list

    • with some hierarchy

      1. and an ordered

      2. mixed

      • list

      • directly

    • inside

Code

Code block


std::string a = 'test';


var a = 'test';


a: str = 'test'

Inline code

And well inline code should also work.

Quotes

A Quote

With some text blocks inside

  • even a list
  • should be
  • possible

Links such as link.

Images

an image

Separations


Checklists

  • how

  • about

    • a

    • nice

  • check

  • list

Tables

| Left header | middle header | last header |

|-------------|---------------|-------------|

| cell 1 | cell 2 | cell 3 |

| cell 4 | cell 5 | cell 6 |

LaTeX

An inline equation $x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}.$ using LaTeX dollar delimiters.

An inline equation (x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}.) using LaTeX parenthesis delimiters.

An equation on its own using dollar delimiters:

$$x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}.$$

An equation on its own using square bracket delimiters:

[x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}.]

available inputs: bogus_input (string) (optional)

available outputs: bogus_output (object)

Example

op = markdown_latex_example()

op = markdown_latex_example(bogus_input=my_bogus_input)

Class Information

Property Value
Namespace Ans.DataProcessing.operators.info
Assembly Ans_Dpf_Documentation_dll_cs
Base Class Ans.DataProcessing.internal_objects.BaseOperator

Inputs

bogus_input

Type: LinkableInput

Outputs

bogus_output

Type: LinkableOutput

Constructors

Constructor

markdown_latex_example()

Constructor

markdown_latex_example(bogus_input, config)

Parameters:

  • bogus_input (object)
  • config (OperatorConfig)

Constructor

markdown_latex_example(config)

Parameters:

  • config (OperatorConfig)

Methods

Properties

inputs

Type: InputSpec

# Get or set the property
value = obj.inputs
obj.inputs = new_value

outputs

Type: OutputSpec

# Get or set the property
value = obj.outputs
obj.outputs = new_value

defaultConfig

Type: Config

# Get the property (read-only)
value = obj.defaultConfig

Connect with Ansys