mirror of
https://github.com/Relintai/pandemonium_demo_projects.git
synced 2024-12-21 13:56:50 +01:00
14 lines
204 B
GDScript
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()
|