Skip to main content

Definition

Assembly: CloudNimble.DotNetDocs.Core.dll Namespace: CloudNimble.DotNetDocs.Core.Renderers Inheritance: CloudNimble.DotNetDocs.Core.Renderers.MarkdownRendererBase

Syntax

Summary

Renders documentation as Markdown files.

Remarks

Generates structured Markdown documentation with support for customizations including insertions, overrides, exclusions, transformations, and conditions.

Constructors

.ctor

Initializes a new instance of the MarkdownRenderer class.

Syntax

Parameters

.ctor Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.MarkdownRendererBase
Initializes a new instance of the MarkdownRendererBase class.

Syntax

Parameters

.ctor Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Initializes a new instance of the RendererBase class.

Syntax

Parameters

.ctor Inherited

Inherited from object

Syntax

Properties

Context Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets the project context for this renderer.

Syntax

Property Value

Type: CloudNimble.DotNetDocs.Core.ProjectContext The project context containing configuration and settings.

Enabled Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
When more than one Renderer is registered, allows a renderer to be turned off.

Syntax

Property Value

Type: bool

FileNamingOptions Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets the file naming options for this renderer.

Syntax

Property Value

Type: CloudNimble.DotNetDocs.Core.Configuration.FileNamingOptions The file naming configuration.

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

EscapeXmlTagsInString Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Escapes XML/HTML tag syntax for safe rendering in Markdown/MDX.

Syntax

Parameters

Returns

Type: string The escaped string safe for MDX rendering.

Remarks

Converts angle brackets to HTML entities to prevent MDX parser interpretation as JSX/HTML tags. This handles both generic type syntax (e.g., JsonConverter<object>) and XML documentation tags (e.g., <see cref=”…”>) by converting them to JsonConverter&lt;object&gt; and &lt;see cref=”…”&gt; respectively.

GetAccessModifier Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets the access modifier string for the given accessibility.

Syntax

Parameters

Returns

Type: string The access modifier string.

GetBestPracticesTemplate Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.MarkdownRendererBase
Gets a template for best practices documentation.

Syntax

Parameters

Returns

Type: string A markdown template string for best practices documentation.

GetConsiderationsTemplate Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.MarkdownRendererBase
Gets a template for considerations documentation.

Syntax

Parameters

Returns

Type: string A markdown template string for considerations documentation.

GetEventSignature Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets the event signature string.

Syntax

Parameters

Returns

Type: string The event signature.

GetExamplesTemplate Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.MarkdownRendererBase
Gets a template for examples documentation.

Syntax

Parameters

Returns

Type: string A markdown template string for examples documentation.

GetFieldSignature Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets the field signature string.

Syntax

Parameters

Returns

Type: string The field signature.

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetHeaderText Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.MarkdownRendererBase
Gets the header text to use for a content section, or null if no header should be added. Returns null if the content already contains the specified header.

Syntax

Parameters

Returns

Type: string? The header text to add, or null if no header should be added.

GetMemberSignature Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets the member signature for a member symbol.

Syntax

Parameters

Returns

Type: string The member signature string.

GetMethodSignature Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets the method signature string.

Syntax

Parameters

Returns

Type: string The method signature.

GetNamespaceFileName Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets a safe file name for a namespace, suitable for use in file systems.

Syntax

Parameters

Returns

Type: string A safe file name for the namespace.

Remarks

This method is deprecated. Use GetNamespaceFilePath instead.

GetNamespaceFilePath Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets the file path for a namespace documentation file.

Syntax

Parameters

Returns

Type: string The full file path for the namespace documentation.

GetPatternsTemplate Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.MarkdownRendererBase
Gets a template for patterns documentation.

Syntax

Parameters

Returns

Type: string A markdown template string for patterns documentation.

GetPropertySignature Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets the property signature string.

Syntax

Parameters

Returns

Type: string The property signature.

GetRelatedApisTemplate Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.MarkdownRendererBase
Gets a template for related APIs documentation.

Syntax

Parameters

Returns

Type: string A markdown template string for related APIs documentation.

GetSafeNamespaceName Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets a safe namespace name for use in file names and display.

Syntax

Parameters

Returns

Type: string A safe namespace name, using “global” for the global namespace.

GetSafeTypeName Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets a safe type name for use in file names, removing invalid characters.

Syntax

Parameters

Returns

Type: string A safe type name with invalid characters replaced.

GetSummaryTemplate Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.MarkdownRendererBase
Gets a template for summary documentation.

Syntax

Parameters

Returns

Type: string A markdown template string for summary documentation.

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

GetTypeFileName Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets a safe file name for a type, suitable for use in file systems.

Syntax

Parameters

Returns

Type: string A safe file name for the type.

Remarks

This method is deprecated. Use GetTypeFilePath instead.

GetTypeFilePath Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets the file path for a type documentation file.

Syntax

Parameters

Returns

Type: string The full file path for the type documentation.

GetTypeSignature Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Gets the type signature string.

Syntax

Parameters

Returns

Type: string The type signature.

GetUsageTemplate Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.MarkdownRendererBase
Gets a template for usage documentation.

Syntax

Parameters

Returns

Type: string A markdown template string for usage documentation.

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

RemoveIndentation Inherited

Inherited from CloudNimble.DotNetDocs.Core.Renderers.RendererBase
Removes common leading indentation from multi-line text content.

Syntax

Parameters

Returns

Type: string The text with common indentation removed.

RenderAsync

Renders the documentation assembly to Markdown files.

Syntax

Parameters

Returns

Type: System.Threading.Tasks.Task A task representing the asynchronous rendering operation.

RenderPlaceholdersAsync

Renders placeholder conceptual content files for the documentation assembly.

Syntax

Parameters

Returns

Type: System.Threading.Tasks.Task A task representing the asynchronous placeholder rendering operation.

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?
  • CloudNimble.DotNetDocs.Core.IDocRenderer