An editable code based dialogue that showcases code snippets within a stylized, macOS-like terminal window. Easy to edit with your own code and ideal for presentations, blogs, documentation where a modern and tech-savvy aesthetic is desired 😎
Live Preview (Deployed on Vercel)
This project showcases a MacOS-like code snippet display styled with a vibrant Synthwave '84 theme. It is a neat and visually appealing way to present code snippets on your website or portfolio. The project is structured as a single HTML file with embedded CSS styles and uses a JavaScript file prism.min.js
for syntax highlighting from the Prism.js project.
- Customizable Code Snippets: The template allows you to easily insert your own code snippets in the designated section. Features of this section include:
- Personalized Code: Enter your code within the
<code>
tags to have it displayed in the MacOS-like window with the Synthwave '84 theme applied. - Language Syntax Highlighting: Set up your preferred language for syntax highlighting by modifying the
class
attribute in the<pre>
and<code>
tags. Example:class="language-javascript"
. - MacOS-like Window in CSS: A representation of a MacOS window with minimize, maximize, and close buttons.
- Responsive Design: The design is responsive and adjusts according to the viewport.
- Synthwave '84 Theme: The code snippet section styled with a Synthwave '84 theme, giving it a retro look.
- Clone the repository to your local machine.
- Open the
index.html
file in a web browser to view the project. - Add your own code snippet to the
<code>
section of theindex.html
file.