API Reference

Class

ImageLinkInline

Namespace OfficeIMO.Markdown
Assembly OfficeIMO.Markdown
Modifiers sealed

Inline that renders a linked image, e.g. [![alt](img)](href). Useful for badges (Shields.io).

Inheritance

Constructors

public ImageLinkInline(String alt, String imageUrl, String linkUrl, String title = null, String linkTitle = null, String plainAlt = null) #

Creates a linked image inline.

Parameters

alt System.String requiredposition: 0
imageUrl System.String requiredposition: 1
linkUrl System.String requiredposition: 2
title System.String = null optionalposition: 3
linkTitle System.String = null optionalposition: 4
plainAlt System.String = null optionalposition: 5

Properties

public String Alt { get; } #

Alternative text for the image.

public String PlainAlt { get; } #

Plain-text alternate text used for HTML rendering and text extraction.

public String ImageUrl { get; } #

Image source URL (e.g., a Shields.io badge).

public String LinkUrl { get; } #

Link target URL.

public String Title { get; } #

Optional image title.

public String LinkTitle { get; } #

Optional hyperlink title.

public Nullable<MarkdownSourceSpan> AltSourceSpan { get; set; } #

Source span for the image alternate-text token when parsed from markdown.

public Nullable<MarkdownSourceSpan> ImageUrlSourceSpan { get; set; } #

Source span for the embedded image URL token when parsed from markdown.

public Nullable<MarkdownSourceSpan> TitleSourceSpan { get; set; } #

Source span for the optional embedded image title token when parsed from markdown.

public Nullable<MarkdownSourceSpan> LinkUrlSourceSpan { get; set; } #

Source span for the wrapping link URL token when parsed from markdown.

public Nullable<MarkdownSourceSpan> LinkTitleSourceSpan { get; set; } #

Source span for the optional wrapping link title token when parsed from markdown.