+
+
+ " + HttpUtility.HtmlEncode(code) + ""
- else sprintf "\\begin{lstlisting}\n%s\n\\end{lstlisting}" <| HttpUtility.HtmlDecode(code)
- HtmlBlock(content) |> Some
- else
- let content : string = codeLookup.[code]
- HtmlBlock(content) |> Some
-
- // Recursively process nested paragraphs, other nodes return without change
- | Matching.ParagraphNested(pn, nested) ->
- let pars = List.map (List.choose (replaceCodeSnippets outputKind codeLookup)) nested
- Matching.ParagraphNested(pn, pars) |> Some
- | other -> Some other
-
- /// Try find first-level heading in the paragraph collection
- let findHeadings paragraphs (outputKind:OutputKind) =
- paragraphs |> Seq.tryPick (function
- | (Heading(1, text)) ->
- let doc = MarkdownDocument([Span(text)], dict [])
- Some(outputKind.Format(doc))
- | _ -> None)
- (*[/omit]*)
-
-(**
-### CodeBlockUtils module
-
-Parsing of F# Script files with Markdown commands. Given a parsed script file, we
-split it into a sequence of comments, snippets and commands (comment starts with
-`(**` and ending with `*)` are translated to Markdown, snippet is all other F# code
-and command looks like `(*** key1:value, key2:value ***)` (and should be single line).
-*)
-module internal CodeBlockUtils =
- (*[omit:(Implementation omitted)]*)
- open CommandUtils
-
- type Block =
- | BlockComment of string
- | BlockSnippet of Line list
- | BlockCommand of IDictionary
-
-
\ No newline at end of file
diff --git a/packages/repositories.config b/packages/repositories.config
index 0328adea..cdaa09cd 100644
--- a/packages/repositories.config
+++ b/packages/repositories.config
@@ -1,6 +1,5 @@