anchor.diff:    /// Replace {parameter} in the input string with 
     /// values defined in the specified list
     let replaceParameters parameters input = 
  -    // First replace keys with some uglier keys and then replace them with values
  -    // (in case one of the keys appears in some other value)
  -    let id = System.Guid.NewGuid().ToString("d")
  -    let input = parameters |> Seq.fold (fun (html:string) (key, value) -> 
  -      html.Replace("{" + key + "}", "{" + key + id + "}")) input
  -    let result = parameters |> Seq.fold (fun (html:string) (key, value) -> 
  -      html.Replace("{" + key + id + "}", value)) input
  -    result 
  +    match input with 
  +    | None ->
  +        // If there is no template, return just document + tooltips
  +        let lookup = parameters |> dict
  +        lookup.["document"] + "\n\n" + lookup.["tooltips"]
  +    | Some input ->
  +        // First replace keys with some uglier keys and then replace them with values
  +        // (in case one of the keys appears in some other value)
  +        let id = System.Guid.NewGuid().ToString("d")
  +        let input = parameters |> Seq.fold (fun (html:string) (key, value) -> 
  +          html.Replace("{" + key + "}", "{" + key + id + "}")) input
  +        let result = parameters |> Seq.fold (fun (html:string) (key, value) -> 
  +          html.Replace("{" + key + id + "}", value)) input
  +        result 
   
     /// Write formatted blocks to a specified string builder 
     /// and return first-level heading if there is some
  
positive.code: 
    /// Process F# Script file
    static member ProcessScriptFile
      ( input, templateFile, ?output, ?fsharpCompiler, ?prefix, ?compilerOptions, 
        ?lineNumbers, ?references, ?replacements, ?includeSource, ?errorHandler ) = (*[omit:(...)]*)
      let output, ctx = 
        Literate.DefaultArguments
  
negative.code: 
    /// Process Markdown document
    static member ProcessMarkdown
      ( input, ?templateFile, ?output, ?fsharpCompiler, ?prefix, ?compilerOptions, 
        ?lineNumbers, ?references, ?replacements, ?includeSource, ?errorHandler ) = (*[omit:(...)]*)
      let output, ctx = 
        Literate.DefaultArguments
  