Skip to content

Main content

Markdown Autolink Delimiter Token

Inspect explicit outer angle delimiters without asserting CommonMark URL or email autolink validity.

Loading tool…

Description

Recognize one outer angle-bracket pair and expose its inner text.

Text parsers operate on an explicit source grammar and boundary policy. Recognizing delimiters or removing one prefix is distinct from validating the surrounding document or protocol. Preserve whether an output represents raw source spelling or decoded text, especially where quoted empty values, ASCII escapes, case and whitespace affect interpretation.

Recognize one outer angle-bracket pair and expose its inner text.

When to use this tool

Use Markdown Autolink Delimiter Token when you already have text and need to recognize one outer angle-bracket pair and expose its inner text.

How to use the tool and how it works

  1. Enter text. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read enclosed, innerText. Inspect enclosed before interpreting the associated values.

If text starts with <, ends with > and has length>=2, return enclosed=true and remove exactly those two outer characters; otherwise preserve the text.1

CommonMark autolinks require a qualifying absolute URI or email form inside angle brackets. An outer-delimiter match alone does not satisfy that grammar.2

Input fieldMeaning and unitsAccepted input
textTextRequired. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
enclosedOnly one matching outer delimiter pair; not full Markdown autolink validity.Required. Boolean.
innerTextInner TextRequired. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "text": "\u003chttps://example.test/>"
  },
  "output": {
    "enclosed": true,
    "innerText": "https://example.test/"
  }
}

Limitations and assumptions

  • This is a delimiter check, not full Markdown autolink syntax, URL/email validation or HTML parsing; empty inner text is accepted.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.

Alternative or Complementary methods

Use a parser for the complete intended grammar and dialect when document validity matters. Keep source spelling, decoded values, quote/escape context and whitespace rules explicit; these helpers intentionally operate on one delimiter, prefix, field or protocol component.

References

  1. Calculation and input contract: parse/markdown-autolink-delimiter-token — tool.io

  2. CommonMark 0.31.2: Autolinks — CommonMark

Similar or alternative tools