Akkudoktor EOS Logo

Overview

  • Introduction

Tutorials

  • Getting Started

How-To Guides

  • Contributing to EOS

Reference

  • Architecture
  • Configuration
  • Optimization
  • Predictions
  • Measurements
  • Integration
  • Server API
  • EOS API
    • akkudoktoreos
      • akkudoktoreos.config
      • akkudoktoreos.core
      • akkudoktoreos.devices
      • akkudoktoreos.measurement
      • akkudoktoreos.optimization
      • akkudoktoreos.prediction
      • akkudoktoreos.server
        • akkudoktoreos.server.dash
        • akkudoktoreos.server.eos
        • akkudoktoreos.server.eosdash
        • akkudoktoreos.server.rest
        • akkudoktoreos.server.server
      • akkudoktoreos.utils
Akkudoktor EOS
  • EOS API
  • akkudoktoreos
  • akkudoktoreos.server
  • akkudoktoreos.server.dash
  • akkudoktoreos.server.dash.markdown
  • akkudoktoreos.server.dash.markdown.render_link
  • View page source

akkudoktoreos.server.dash.markdown.render_link

akkudoktoreos.server.dash.markdown.render_link(self: RendererHTML, tokens: List[Token], idx: int, options: dict, env: dict) → str

Custom renderer for Markdown links.

Adds the target attribute to open links in a new tab.

Parameters:
  • self – The renderer instance.

  • tokens – List of tokens to be rendered.

  • idx – Index of the current token.

  • options – Rendering options.

  • env – Environment sandbox for plugins.

Returns:

The rendered token as a string.

Previous Next

© Copyright 2024, Andreas Schmitz.

Built with Sphinx using a theme provided by Read the Docs.