Render external code in markdown

29 views
Skip to first unread message

Vaibhav Vikas

unread,
Jul 27, 2022, 11:41:27 PM7/27/22
to markdown-here
I am creating Github Pages to render my code.

To show code block in Markdown ~> we use

```python
# Our Code Here
``` 

My objective is.
I have an external file stored somewhere say /code/py_script.py
Now, I want to render it in the same way.

I want is to have 
```python
My code from /code/py_script.py is rendered here without copying it here.
```

Reply all
Reply to author
Forward
0 new messages