Click here to Skip to main content
15,891,784 members
Articles / Web Development / CSS

Markdown Calculator

Rate me:
Please Sign up or sign in to vote.
3.89/5 (6 votes)
31 Mar 2021CPOL9 min read 8.6K   78   2  
This is just a funny Visual Studio Code extension, but… what can happen if somebody will try to use it seriously?
Put the keyword (by default, “run”) on the same line as the opening fence indicator. It will force the fenced code to execute instead of rendering it. Put the keyword “return” at the beginning of the inline code sample, and the result of the calculation will be rendered as an inline element; for example, `return 10**6` will be rendered as 1000000.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
United States United States
Physics, physical and quantum optics, mathematics, computer science, control systems for manufacturing, diagnostics, testing, and research, theory of music, musical instruments… Contact me: https://www.SAKryukov.org

Comments and Discussions