...

Text file src/oss.terrastruct.com/d2/e2etests/testdata/files/grid_with_latex.d2

Documentation: oss.terrastruct.com/d2/e2etests/testdata/files

     1x: {
     2  grid-columns: 2
     3
     4  a.width: 50
     5  a.height: 72
     6  b.width: 50
     7  b.height: 30
     8}
     9
    10y: {
    11  grid-columns: 2
    12
    13  a.width: 50
    14  a.height: 73
    15  b.width: 50
    16  b.height: 30
    17}
    18
    19z: {
    20  grid-columns: 2
    21  lim: |latex
    22    \\lim_{h \\rightarrow 0 } \\frac{f(x+h)-f(x)}{h}
    23  |
    24  add: |latex
    25    1 + 1
    26  |
    27}

View as plain text