Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

marko

> 前端框架
Open source

A declarative, HTML-based language that makes building web apps fun

14.4K stars0 likes1 views
WebsiteGitHub

About

A declarative, HTML-based language that makes building web apps fun

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, conditionals and loops, and a full reactivity system.

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 = 💜
<let/count=0>
<button onClick() { count++ }>
  Clicked ${count} times
</button>

Getting Started

  1. npm init marko
  2. Read the docs

Community & Support

Keep up with the community on Bluesky at @markojs.com

Tweet to @MarkoDevTeam or use the #markojs hashtag

Browse the code, open issues, & make pull requests on GitHub

Hang out in our Discord server to ask questions & discuss marko

Contributors

Marko would not be what it is without all those who have contributed ✨

Get Involved!

  • Pull requests are welcome!
  • Submit GitHub issues for any feature enhancements, bugs, or documentation problems
  • Read the Contribution Tips and Guidelines
  • Participants in this project agree to abide by its Code of Conduct

Issues· 41 open

View all issuesOpen on GitHub
  • #4361

    `catch` not rendering in SSR mode

    type:unverified bugUpdated Sep 30, 2026
  • #4059

    Component re-exported from a .ts module breaks hydration in production builds (crash with a sibling event handler, silently dead without)

    Updated Aug 25, 2026
  • #3721

    Feat Request: Stale-while-revalidate in <await>

    type:featureUpdated Aug 4, 2026
  • #2242

    `<await>` tag doesn't render correctly with `client-reorder` when inside `<table>` element

    type:docsUpdated Jun 23, 2026
  • #3155

    [Feature Request] Native context API for Marko v6 (setContext/getContext)

    type:featureUpdated Apr 9, 2026
  • #862

    Docs for using custom elements with Marko

    type:docsstatus:todoUpdated Feb 27, 2026
  • #3066

    OpenJS Best Practices: Website Updates

    Updated Feb 3, 2026
  • #313

    tag to handle streams

    type:featurescope:core taglibUpdated Apr 16, 2024
  • #1727

    Marko 5 ESM Loading/Registering

    type:unverified bugUpdated Aug 18, 2021
  • #793

    CLI bin console style enhancement.

    type:featurestatus:backlogUpdated Sep 29, 2017

> Tags

JavaScriptclient-side-renderingdomfrontendisomorphic

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架