all AI news
Embed Codes on Dev.to Using Liquid Syntax with Code Runner
April 2, 2024, 2:14 a.m. | Sh Raj
DEV Community dev.to
Instead of images from carbon or using code highlighting there is one more interactive way to show the code with preview and code runner. So that people can also edit and see the results for satisfaction and clarity.
printf('Some Python Here! 🔥')
See Markdown behind this Post :-https://dev.to/api/articles/sh20raj/embed-codes-on-devto-using-liquid-syntax-with-runner-3hl4 | See on Codes20
{% embed https://... %}
Embed JavaScript
runkit
// hidden setup JavaScript code goes in this preamble area
const hiddenVar = 42
// visible, reader-editable JavaScript code goes …
beginners carbon code dev edit embed hidden highlighting images interactive javascript people programming python results setup show syntax webdev
More from dev.to / DEV Community
Jobs in AI, ML, Big Data
AI Research Scientist
@ Vara | Berlin, Germany and Remote
Data Architect
@ University of Texas at Austin | Austin, TX
Data ETL Engineer
@ University of Texas at Austin | Austin, TX
Lead GNSS Data Scientist
@ Lurra Systems | Melbourne
Senior Machine Learning Engineer (MLOps)
@ Promaton | Remote, Europe
Senior Data Scientist
@ ITE Management | New York City, United States