Comments (1)
I went with patching the globally available print
function when executing code blocks. It writes to a buffer instead of standard output. file
parameter is not supported. HTML vs. Markdown is specified in the code block options with html="0"
(default) or html="1"
.
from markdown-exec.
Related Issues (20)
- [Feature] Output logging in rendered output HOT 1
- [Feature] Option to globally disable execution HOT 1
- Add a cwd option to console
- stdout from "external" functions not shown HOT 8
- Compability with snippets HOT 3
- Feature Request: Support Other Languages? HOT 1
- Feature request: default behaviour for code blocs HOT 2
- No output without print and no line breaks HOT 4
- bug: source="tabbed-left" showing source vertically, rather than horizontally HOT 9
- bug: ANSI escape codes in `jax.ClosedJaxpr` are not being converted to HTML HOT 3
- Consideration for `mkdocs get-deps` regarding the `[ansi]` extra HOT 2
- bug: Don't always include ANSI CSS file
- Appearance of code block headings in the navigation sidebar HOT 1
- bug: Directory change dos not persist between code blocks executed on the same session HOT 3
- feat: Support specifying terminal width HOT 5
- bug: can not run the example HOT 3
- feature: Issue warning if pymdownx.superfences is not enabled
- enhancement: Increase minimum height of pyodide output code block
- feature: Add option to specify initial number of lines in pyodide fence editors
- bug: color is missing if I print a diff with rich.syntax HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from markdown-exec.