Definition
Assembly: CloudNimble.DotNetDocs.Core.dll Namespace: CloudNimble.DotNetDocs.Core.Renderers Inheritance: CloudNimble.DotNetDocs.Core.Renderers.RendererBaseSyntax
Summary
Base class for Markdown-based renderers providing common formatting utilities.Constructors
.ctor
Initializes a new instance of the MarkdownRendererBase class.Syntax
Parameters
.ctor Inherited
Inherited from
CloudNimble.DotNetDocs.Core.Renderers.RendererBaseSyntax
Parameters
.ctor Inherited
Inherited from
objectSyntax
Properties
Context Inherited
Inherited from
CloudNimble.DotNetDocs.Core.Renderers.RendererBaseSyntax
Property Value
Type:CloudNimble.DotNetDocs.Core.ProjectContext
The project context containing configuration and settings.
Enabled Inherited
Inherited from
CloudNimble.DotNetDocs.Core.Renderers.RendererBaseSyntax
Property Value
Type:bool
FileNamingOptions Inherited
Inherited from
CloudNimble.DotNetDocs.Core.Renderers.RendererBaseSyntax
Property Value
Type:CloudNimble.DotNetDocs.Core.Configuration.FileNamingOptions
The file naming configuration.
Methods
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
EscapeXmlTagsInString Inherited
Inherited from
CloudNimble.DotNetDocs.Core.Renderers.RendererBaseSyntax
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<object> and <see cref=”…”> respectively.GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetNamespaceFileName Inherited
Inherited from
CloudNimble.DotNetDocs.Core.Renderers.RendererBaseSyntax
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.RendererBaseSyntax
Parameters
Returns
Type:string
The full file path for the namespace documentation.
Remarks
The location comes from ProjectContext.GetNamespacePagePath, which cross-reference links also use.GetNamespaceLink Inherited
Inherited from
CloudNimble.DotNetDocs.Core.Renderers.RendererBaseSyntax
Parameters
Returns
Type:string
The relative link to the namespace page, using forward slashes.
Examples
For the namespaceCloudNimble.DotNetDocs.Core with the extension md:
Remarks
Use this for links from the assembly index page, which sits at the output root. It shares the path logic in RendererBase.GetNamespaceFilePath, so links always match where the namespace pages are written.GetSafeNamespaceName Inherited
Inherited from
CloudNimble.DotNetDocs.Core.Renderers.RendererBaseSyntax
Parameters
Returns
Type:string
A safe namespace name, using “global” for the global namespace.
GetSafeTypeName Inherited
Inherited from
CloudNimble.DotNetDocs.Core.Renderers.RendererBaseSyntax
Parameters
Returns
Type:string
A safe type name with invalid characters replaced.
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
GetTypeFilePath Inherited
Inherited from
CloudNimble.DotNetDocs.Core.Renderers.RendererBaseSyntax
Parameters
Returns
Type:string
The full file path for the type documentation.
Remarks
The location comes from ProjectContext.GetTypePagePath, which cross-reference links also use.MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
RenderPlaceholdersAsync Inherited Virtual
Inherited from
CloudNimble.DotNetDocs.Core.Renderers.RendererBaseSyntax
Parameters
Returns
Type:System.Threading.Tasks.Task
A completed task.
Remarks
DocumentationManager.GeneratePlaceholdersAsync writes the standard namespace and type placeholders, then calls this method on each registered renderer. Override it to add files that a renderer needs beyond the standard placeholders; files written into the conceptual folder are loaded with the rest of the content.ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?