字符串中有转义序列,因此可以使用
   
    raw
   
  
  julia> s = raw"""
       ```math
       G_u \sim PY(d_{|u|}, \theta_{|u|}, G_{\pi(u)})
       ```
       """
"```math\nG_u \\sim PY(d_{|u|}, \\theta_{|u|}, G_{\\pi(u)})\n```\n"
julia> println(s)
```math
G_u \sim PY(d_{|u|}, \theta_{|u|}, G_{\pi(u)})
```
  
   或者逃跑
   
    \
   
   (这不太方便):
  
  julia> s = """
       ```math
       G_u \\sim PY(d_{|u|}, \\theta_{|u|}, G_{\\pi(u)})
       ```
       """
"```math\nG_u \\sim PY(d_{|u|}, \\theta_{|u|}, G_{\\pi(u)})\n```\n"
julia> println(s)
```math
G_u \sim PY(d_{|u|}, \theta_{|u|}, G_{\pi(u)})
```
  
   最后如果你用
   
    Markdown
   
   
    doc
   
   字符串如下:
  
  julia> using Markdown
julia> s = doc"""
       ```math
       G_u \sim PY(d_{|u|}, \theta_{|u|}, G_{\pi(u)})
       ```
       """
G_u \sim PY(d_{|u|}, \theta_{|u|}, G_{\pi(u)})
julia> println(s)
$$
G_u \sim PY(d_{|u|}, \theta_{|u|}, G_{\pi(u)})
$$
  
   
    博士
   
   将数学包装为
   
    $$
   
   如上所述。阿尔索
   
    博士
   
   仅手柄仅
   
    $
   
   
    \
   
   例如,插值在
   
    博士
   
   相对于
   
    未经加工的
   
   这是尽可能原始的:)。最后
   
    博士
   
   不产生字符串,但
   
    Markdown.MD
   
  
  julia> using Markdown
julia> raw"""$x = 1"""
"\$x = 1"
julia> doc"""$x = 1"""
1
  = 1
julia> """$x = 1"""
"1 = 1"
julia> typeof(doc"""$x = 1""")
Markdown.MD