> ## Documentation Index
> Fetch the complete documentation index at: https://mint-tsdocs.saulo.engineer/llms.txt
> Use this file to discover all available pages before exploring further.

# DocEmphasisSpan class

> Represents a span of text that is styled with CommonMark emphasis (italics), strong emphasis (boldface), or both.

export const RefLink = ({target, children}) => {
  if (!target || typeof target !== 'string') {
    console.error('RefLink: Invalid target prop. Expected non-empty string.');
    return <span className="tsdocs-reflink broken-link" title="Invalid RefLink target" data-component="tsdocs-reflink">Invalid Link</span>;
  }
  const linkText = children || target;
  const path = typeof window !== 'undefined' && window.getRefPath ? window.getRefPath(target) : `./${target.split('.').filter(s => s.length > 0).join('/')}`;
  const isValid = typeof window !== 'undefined' && window.VALID_REFS && window.VALID_REFS.has(target);
  const className = !isValid ? 'tsdocs-reflink broken-link' : 'tsdocs-reflink';
  const title = !isValid ? `Broken API reference: ${target}` : undefined;
  return <a href={path} className={className} title={title} data-component="tsdocs-reflink">
      {linkText}
    </a>;
};

export const PageLink = ({target, children}) => {
  if (!target || typeof target !== 'string') {
    console.error('PageLink: Invalid target prop. Expected non-empty string.');
    return <span className="tsdocs-pagelink broken-link" title="Invalid PageLink target" data-component="tsdocs-pagelink">Invalid Link</span>;
  }
  const linkText = children || target;
  let path = target;
  if (!path.startsWith('/')) {
    path = `/${target}`;
  }
  const isValid = typeof window !== 'undefined' && window.VALID_PAGES && window.VALID_PAGES.has(target);
  const className = !isValid ? 'tsdocs-pagelink broken-link' : 'tsdocs-pagelink';
  const title = !isValid ? `Broken page link: ${target}` : undefined;
  return <a href={path} className={className} title={title} data-component="tsdocs-pagelink">
      {linkText}
    </a>;
};

# DocEmphasisSpan

## Summary

Represents a span of text that is styled with CommonMark emphasis (italics), strong emphasis (boldface), or both.

## Signature

```typescript theme={null}
export declare class DocEmphasisSpan extends DocNodeContainer 
```

## Constructors

### constructor

Constructs a new instance of the class

## Properties

### bold

**Modifiers**: readonly
**Type**:`readonly bold: boolean;`
**Default**: \`\`

### italic

**Modifiers**: readonly
**Type**:`readonly italic: boolean;`
**Default**: \`\`

### kind

**Modifiers**: readonly
**Type**:`get kind(): string;`
**Default**: \`\`

## Methods

*No methods defined.*

## Events

*No events defined.*

## Remarks

This node can contain PlainText and SoftBreak nodes. The text content is rendered with markdown emphasis markers: `*italic*` for italic, `**bold**` for bold, or `***bold italic***` for both.

## Examples

### Example 1

```typescript theme={null}
```

## Related Documentation

* <PageLink target="/architecture/ast-nodes-layer">Custom AST nodes architecture</PageLink>
