So couple approaches I’ve tried from other posts here, just none of them are good enough -
- I tried to use mmark and just do
{{...html}}
Turned out it distort the original html tags somehow and thus i couldn’t get it to format correctly - I’ve created shortcodes with
So far, this is the only way that works in my favor, renders the file without losing format or any hassle. However, I looked at the source, there seems to be 1MB filesize limit.{{ $file := .Get 0 | readFile }} {{ htmlUnescape $file | safeHTML}}
Is there any other way to get this working? For now I have recompile hugo to take max 10MB, is there any cons of doing so?