# Marko **Repository Path**: mirrors/Marko ## Basic Information - **Project Name**: Marko - **Description**: Marko 是一个快速、友好的 UI 库,由 eBay 开源,旨在让构建 web 应用更有趣 - **Primary Language**: HTML/CSS - **License**: MIT - **Default Branch**: main - **Homepage**: https://www.oschina.net/p/marko - **GVP Project**: No ## Statistics - **Stars**: 8 - **Forks**: 2 - **Created**: 2017-09-18 - **Last Updated**: 2025-12-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
# [Marko](https://markojs.com/) **A declarative, HTML-based language that makes building web apps fun 🔥** [![NPM](https://img.shields.io/npm/v/marko.svg)](https://www.npmjs.com/package/marko) [![Discord Chat](https://img.shields.io/badge/discord-chat-7188da.svg)](https://discord.gg/RFGxYGs) [![Continuous Integration status](https://github.com/marko-js/marko/actions/workflows/ci.yml/badge.svg)](https://github.com/marko-js/marko/actions/workflows/ci.yml) [![Code coverage %](https://codecov.io/gh/marko-js/marko/branch/master/graph/badge.svg)](https://codecov.io/gh/marko-js/marko) [![# of monthly downloads](https://img.shields.io/npm/dm/marko.svg)](https://npm-stat.com/charts.html?package=marko) [![OpenSSF Best Practices](https://bestpractices.coreinfrastructure.org/projects/7029/badge)](https://bestpractices.coreinfrastructure.org/projects/7029) [Docs](https://markojs.com/docs/introduction/getting-started) ∙ [Try Online](https://markojs.com/playground) ∙ [Contribute](#contributors) ∙ [Get Support](#community--support)
## Intro Marko is HTML _reimagined_ as a language for building dynamic and reactive user interfaces. Almost any valid HTML is valid Marko, and Marko extends HTML for building modern applications more declaratively. Among these extensions are [components](https://markojs.com/docs/reference/custom-tag), [conditionals](https://markojs.com/docs/reference/core-tag#if--else) and [loops](https://markojs.com/docs/reference/core-tag#for), and a full [reactivity system](https://markojs.com/docs/reference/reactivity). ### Example Component The following renders a button and a counter of how many times the button has been pressed: **click-count.marko** ```marko // HTML + JavaScript = 💜 ``` ## Getting Started 1. `npm init marko` 2. Read the [docs](https://markojs.com/docs/introduction/getting-started) ## Community & Support
Hang out in our [Discord server](https://discord.gg/marko) to ask questions & discuss marko Keep up with the community on Bluesky at [@markojs.com](https://bsky.app/profile/markojs.com) Tweet to [@MarkoDevTeam](https://twitter.com/MarkoDevTeam) or use the [#markojs](https://twitter.com/search?q=%23markojs%20OR%20%40markodevteam&f=live) hashtag Browse the code, open issues, & make pull requests on [GitHub](https://github.com/marko-js/marko)
### Contributors Marko would not be what it is without all those who have contributed ✨ [![All marko-js/marko GitHub contributors](https://opencollective.com/marko-js/contributors.svg?width=890&button=false)](https://github.com/marko-js/marko/graphs/contributors) ### Get Involved! - Pull requests are welcome! - Submit [GitHub issues](https://github.com/marko-js/marko/issues) for any feature enhancements, bugs, or documentation problems - [Read the Contribution Tips and Guidelines](.github/CONTRIBUTING.md) - Participants in this project agree to abide by [its Code of Conduct](https://github.com/eBay/.github/blob/main/CODE_OF_CONDUCT.md)