pandemonium_demo_projects/misc/markdown_renderer/NormalRenderer.gd

14 lines
204 B
GDScript

extends TextEdit
func _ready():
var f : File = File.new()
var mdr : MarkdownRenderer = MarkdownRenderer.new()
f.open("res://TEST.md", File.READ)
text = mdr.render(f.get_as_text())
f.close()