添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Description

When I try to use QTextEdit to display markdown file I got the following error:

AttributeError: 'PySide2.QtWidgets.QTextEdit' object has no attribute 'setMarkdown'

 Below is the minimal example:

import sys
from PySide2 import QtWidgets
app = QtWidgets.QApplication(sys.argv)
qte = QtWidgets.QTextEdit()
qte.setMarkdown("Markdown text")
qte.show()
app.exec_()

Is this a known bug?

No reviews matched the request. Check your Options in the drop-down menu of this sections header.

Activity

People