Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 672 Bytes

example.md

File metadata and controls

30 lines (23 loc) · 672 Bytes

Executable sections are marked with the "python" tag. Putting the cursor on one of the typing the :LitEval1 command executes its code in a background Python interpreter.

W='Hello, World!'
print(W)

Verbatim sections next to the executable section are result sections. Litrepl pastes the result here during the evaluation. The original content of this section is replaced.

Hello, World!

Markdown comment-looking tags lresult/lnoresult also mark executable and result sections. This way we can produce the Markdown document markup directly.

Hello, LitREPL