Skip to content

TextStudioMarkupSyntax

ClassTextStudioTextStudio
public sealed class TextStudioMarkupSyntax : ScriptableObject

Configures project-wide or per-host authoring syntax without adding provider dependencies.

public string Normalize(string markup)

Converts configured custom delimiters to canonical angle tags while honoring escaping and native-tag policy.

Parameters

Name Type
markup System.String

Returns

System.String

Configure(TextStudioAuthoringProfile, string, string, bool)

Section titled “Configure(TextStudioAuthoringProfile, string, string, bool)”
public void Configure(TextStudioAuthoringProfile profile, string openingDelimiter = "[", string closingDelimiter = "]", bool acceptNativeAngleTags = true)

Sets the authoring dialect and single-character custom delimiters, then invalidates dependent plans.

Parameters

Name Type
profile TextStudio.TextStudioAuthoringProfile
openingDelimiter System.String
closingDelimiter System.String
acceptNativeAngleTags System.Boolean

public TextStudioMarkupSyntax()

public TextStudioAuthoringProfile Profile { get; }

Returns

TextStudio.TextStudioAuthoringProfile

public string OpeningDelimiter { get; }

Returns

System.String

public string ClosingDelimiter { get; }

Returns

System.String

public bool AcceptNativeAngleTags { get; }

Returns

System.Boolean