src/hmisc/algo/make_rst

  Source   Edit

Procs

func makeRstCodeBlock(str: string; lang: string = "nim"): string {.
    ...raises: [ValueError], tags: [].}
  Source   Edit
func makeRstImage(img: string; center: bool = true): string {.
    ...raises: [ValueError], tags: [].}
  Source   Edit
func makeRstList(elems: seq[string]; ident: int = 0): string {....raises: [],
    tags: [].}
  Source   Edit
func makeRstSection(body, header: string; level: int): string {.
    ...raises: [ValueError], tags: [].}
  Source   Edit
func makeRstSection(level: int; header: string; body: varargs[string]): string {.
    ...raises: [ValueError], tags: [].}
  Source   Edit
proc rst2html(str: string; file: string): void {....raises: [IOError,
    ArgumentError, OSError, Exception, ValueError, ShellError], tags: [
    WriteIOEffect, ShellExecEffect, ExecIOEffect, ReadEnvEffect, RootEffect].}
  Source   Edit