ITextStudioMarkupPreprocessor
public interface ITextStudioMarkupPreprocessorTransforms authored markup before Text Studio parses tags and builds its semantic plan.
Methods
Section titled “Methods”
PreprocessMarkup(string, in TextStudioMarkupPreprocessContext)
Section titled “PreprocessMarkup(string, in TextStudioMarkupPreprocessContext)”string PreprocessMarkup(string markup, in TextStudioMarkupPreprocessContext context)Transforms one markup value without retaining the transient context.
Parameters
| Name | Type | Description |
|---|---|---|
markup |
System.String | Input markup from the previous preprocessor, or the original source. |
context |
TextStudio.TextStudioMarkupPreprocessContext | Operation context valid only for the duration of the call. |
Returns
System.String: Markup for the next stage. A null result is treated as empty text.