code: def _aligned_dedent(txt):
      """Custom variant of `textwrap.dedent`.
  
      Helper method to dedent the provided text up to the special alignment character ``'|'``.
      """
      return textwrap.dedent(txt).replace("|", "")
  
imports: import io
  import os
  import textwrap
  import pyvista
label_desc: Use image node_id 1 for calling a global function with example usage: _aligned_dedent(txt) and returns: textwrap