示例#1
0
        private static void RegisterBlocks(ExtensionHtmlRenderer renderer)
        {
            renderer.RegisterBlock <FolderFromDiskBlock, FolderFromDiskExtension>();
            renderer.RegisterBlock <FolderListBlock, FolderListExtension>();
            renderer.RegisterBlock <NestedBlockBlock, NestedBlockExtension>();
            renderer.RegisterBlock <SnippetBlock, SnippetExtension>();
            renderer.RegisterBlock <PanZoomImageBlock, PanZoomImageExtension>();
            renderer.RegisterBlock <ExcelTableBlock, ExcelTableExtension>();
            renderer.RegisterBlock <MsSqlTableBlock, MsSqlTableExtension>();
            renderer.RegisterBlock <GitHistoryBlock, GitHistoryExtension>();
            renderer.RegisterBlock <GitGraphBlock, GitGraphExtension>();
            renderer.RegisterBlock <WorkflowNotesBlock, WorkflowNotesExtension>();
            renderer.RegisterBlock <BpmnGraphBlock, BpmnGraphExtension>();
            renderer.RegisterBlock <DiagramBlock, DiagramImageExtension>();
            renderer.RegisterBlock <TableNotesBlock, TableNotesExtension>();
            renderer.RegisterBlock <ObjectTextBlock, ObjectTextExtension>();
            renderer.RegisterBlock <DatamodelApiBlock, DatamodelApiExtension>();
            renderer.RegisterBlock <TableOfContentBlock, TableOfContentExtension>();
            //renderer.RegisterBlock<NoteParagraphBlock, NoteExtension>();
            renderer.RegisterBlock <XmlSnippetBlock, XmlSnippetExtension>();

            renderer.RegisterInline <KeyboardKeysInline, KeyboardKeysExtension>();
        }