How to pass doc string into flask jinja html?

Solution
@app.route('/data_transcript', methods=['GET', 'POST'])
def data_transcript():
    """string for html template"""
    # to do some stuff
    return render_template('index.html', doc_string=data_transcript.__doc__)