Skip to content

feat: add marko language#299

Merged
octref merged 1 commit intoshikijs:mainfrom
manan-gup:main
Feb 15, 2022
Merged

feat: add marko language#299
octref merged 1 commit intoshikijs:mainfrom
manan-gup:main

Conversation

@manan-gup
Copy link
Contributor

Added Marko language from eBay's Marko web framework

e.g.

<await(slowPromise) timeout=5000>
  <@then>Done</@then>
  <@catch|err|>
    <if(err.name === "TimeoutError")>
      Took too long to fetch the data!
    </if>
    <else>
      Promise failed with ${err.message}.
    </else>
  </@catch>
</await>
  • I have read docs for adding a language.
  • I have searched around and this is the most up-to-date, actively maintained version of the language grammar.
  • I have added a sample file that includes a variety of language syntaxes and succinctly captures the idiosyncrasy of a language. See docs for requirement.

@octref
Copy link
Collaborator

octref commented Feb 15, 2022

Great work, thanks!

@octref octref merged commit dcb2799 into shikijs:main Feb 15, 2022
@manan-gup
Copy link
Contributor Author

Thanks, happy to help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants