# SuperscriptInline

Superscript inline text rendered as ^text^ in Markdown and <sup> in HTML.

Class 

`OfficeIMO.Markdown`

**Namespace**

`OfficeIMO.Markdown`

**Assembly**

`OfficeIMO.Markdown`

**Source revision**

`e96266e685be` with working tree changes

**Source**

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

**Base**

`MarkdownInline`

**Implements**

`IMarkdownInline` `IRenderableMarkdownInline` `IPlainTextMarkdownInline`

**Modifiers**

sealed

Superscript inline text rendered as ^text^ in Markdown and <sup> in HTML.

## Inheritance

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

Filter members 

Show inherited

## Constructors

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

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

Creates a new superscript inline.

Parameters

**text string required**

## Inherited Methods

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

[MarkdownObject.cs:155](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Markdown/Core/MarkdownObject.cs#L155)

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)

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

Text content.

## Inherited Properties

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

[MarkdownObject.cs:93](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Markdown/Core/MarkdownObject.cs#L93)

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

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

[MarkdownObject.cs:96](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Markdown/Core/MarkdownObject.cs#L96)

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

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

[MarkdownObject.cs:99](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Markdown/Core/MarkdownObject.cs#L99)

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

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

[MarkdownObject.cs:102](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Markdown/Core/MarkdownObject.cs#L102)

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

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

[MarkdownObject.cs:105](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Markdown/Core/MarkdownObject.cs#L105)

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

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

[MarkdownObject.cs:108](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Markdown/Core/MarkdownObject.cs#L108)

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

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

[MarkdownObject.cs:113](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Markdown/Core/MarkdownObject.cs#L113)

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

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

[MarkdownObject.cs:144](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Markdown/Core/MarkdownObject.cs#L144)

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

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

[MarkdownObject.cs:151](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Markdown/Core/MarkdownObject.cs#L151)

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

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