# SubscriptInline

Subscript inline text rendered as ~text~ in Markdown and <sub> in HTML.

Class 

`OfficeIMO.Markdown`

**Namespace**

`OfficeIMO.Markdown`

**Assembly**

`OfficeIMO.Markdown`

**Source revision**

`b95aedcec038` with working tree changes

**Source**

[SubscriptInline.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/b95aedcec0386799661f873d61f214ac21551de0/OfficeIMO.Markdown/Inlines/SubscriptInline.cs#L11)

**Base**

`MarkdownInline`

**Implements**

`IMarkdownInline` `IRenderableMarkdownInline` `IPlainTextMarkdownInline`

**Modifiers**

sealed

Subscript inline text rendered as ~text~ in Markdown and <sub> in HTML.

## Inheritance

- [MarkdownObject](/api/markdown/officeimo-markdown-markdownobject/)
- [MarkdownInline](/api/markdown/officeimo-markdown-markdowninline/)
- SubscriptInline

Filter members 

Show inherited

## Constructors

`public SubscriptInline(string text)` [#](#constructor-ctor-string)

[SubscriptInline.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/b95aedcec0386799661f873d61f214ac21551de0/OfficeIMO.Markdown/Inlines/SubscriptInline.cs#L11)

Creates a new subscript inline.

Parameters

**text string required**

## Inherited Methods

`public void Accept(MarkdownVisitor visitor)` [#](#method-accept-markdownvisitor)

[MarkdownObject.cs:131](https://github.com/EvotecIT/OfficeIMO/blob/b95aedcec0386799661f873d61f214ac21551de0/OfficeIMO.Markdown/Core/MarkdownObject.cs#L131)

Inherited from [MarkdownObject](/api/markdown/officeimo-markdown-markdownobject/)

Parameters

**visitor MarkdownVisitor required**

`public IEnumerable<MarkdownObject> Ancestors()` [#](#method-ancestors)

Inherited from [MarkdownObject](/api/markdown/officeimo-markdown-markdownobject/)

Returns

`IEnumerable<MarkdownObject>`

`public IEnumerable<MarkdownObject> AncestorsAndSelf()` [#](#method-ancestorsandself)

Inherited from [MarkdownObject](/api/markdown/officeimo-markdown-markdownobject/)

Returns

`IEnumerable<MarkdownObject>`

`public IEnumerable<TObject> DescendantObjectsOfType<TObject>()` [#](#method-descendantobjectsoftype)

Inherited from [MarkdownObject](/api/markdown/officeimo-markdown-markdownobject/)

Type Parameters

**TObject**

Returns

`IEnumerable<TObject>`

`public IEnumerable<MarkdownObject> Descendants()` [#](#method-descendants)

Inherited from [MarkdownObject](/api/markdown/officeimo-markdown-markdownobject/)

Returns

`IEnumerable<MarkdownObject>`

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string Text { get; }` [#](#property-text)

[SubscriptInline.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/b95aedcec0386799661f873d61f214ac21551de0/OfficeIMO.Markdown/Inlines/SubscriptInline.cs#L8)

Text content.

## Inherited Properties

`public MarkdownObject? Parent { get; }` [#](#property-parent)

[MarkdownObject.cs:69](https://github.com/EvotecIT/OfficeIMO/blob/b95aedcec0386799661f873d61f214ac21551de0/OfficeIMO.Markdown/Core/MarkdownObject.cs#L69)

Inherited from [MarkdownObject](/api/markdown/officeimo-markdown-markdownobject/)

`public MarkdownDocument? Document { get; }` [#](#property-document)

[MarkdownObject.cs:72](https://github.com/EvotecIT/OfficeIMO/blob/b95aedcec0386799661f873d61f214ac21551de0/OfficeIMO.Markdown/Core/MarkdownObject.cs#L72)

Inherited from [MarkdownObject](/api/markdown/officeimo-markdown-markdownobject/)

`public MarkdownObject Root { get; }` [#](#property-root)

[MarkdownObject.cs:75](https://github.com/EvotecIT/OfficeIMO/blob/b95aedcec0386799661f873d61f214ac21551de0/OfficeIMO.Markdown/Core/MarkdownObject.cs#L75)

Inherited from [MarkdownObject](/api/markdown/officeimo-markdown-markdownobject/)

`public int? IndexInParent { get; }` [#](#property-indexinparent)

[MarkdownObject.cs:78](https://github.com/EvotecIT/OfficeIMO/blob/b95aedcec0386799661f873d61f214ac21551de0/OfficeIMO.Markdown/Core/MarkdownObject.cs#L78)

Inherited from [MarkdownObject](/api/markdown/officeimo-markdown-markdownobject/)

`public MarkdownObject? PreviousSibling { get; }` [#](#property-previoussibling)

[MarkdownObject.cs:81](https://github.com/EvotecIT/OfficeIMO/blob/b95aedcec0386799661f873d61f214ac21551de0/OfficeIMO.Markdown/Core/MarkdownObject.cs#L81)

Inherited from [MarkdownObject](/api/markdown/officeimo-markdown-markdownobject/)

`public MarkdownObject? NextSibling { get; }` [#](#property-nextsibling)

[MarkdownObject.cs:84](https://github.com/EvotecIT/OfficeIMO/blob/b95aedcec0386799661f873d61f214ac21551de0/OfficeIMO.Markdown/Core/MarkdownObject.cs#L84)

Inherited from [MarkdownObject](/api/markdown/officeimo-markdown-markdownobject/)

`public MarkdownSourceSpan? SourceSpan { get; internal set; }` [#](#property-sourcespan)

[MarkdownObject.cs:89](https://github.com/EvotecIT/OfficeIMO/blob/b95aedcec0386799661f873d61f214ac21551de0/OfficeIMO.Markdown/Core/MarkdownObject.cs#L89)

Inherited from [MarkdownObject](/api/markdown/officeimo-markdown-markdownobject/)

`public MarkdownAttributeSet Attributes { get; }` [#](#property-attributes)

[MarkdownObject.cs:120](https://github.com/EvotecIT/OfficeIMO/blob/b95aedcec0386799661f873d61f214ac21551de0/OfficeIMO.Markdown/Core/MarkdownObject.cs#L120)

Inherited from [MarkdownObject](/api/markdown/officeimo-markdown-markdownobject/)

`public IReadOnlyList<MarkdownObject> ChildObjects { get; }` [#](#property-childobjects)

[MarkdownObject.cs:127](https://github.com/EvotecIT/OfficeIMO/blob/b95aedcec0386799661f873d61f214ac21551de0/OfficeIMO.Markdown/Core/MarkdownObject.cs#L127)

Inherited from [MarkdownObject](/api/markdown/officeimo-markdown-markdownobject/)

<!-- PowerForge markdown artifact sha256:DD3355ECB5DFA604F91A1321851A0BEAB116C0C52A988C5E7C8B0DABE159A8EF -->
