Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save lamarqua/5407def779b0e6ccc82e7f8a7fb1d6dc to your computer and use it in GitHub Desktop.

Select an option

Save lamarqua/5407def779b0e6ccc82e7f8a7fb1d6dc to your computer and use it in GitHub Desktop.
%YAML 1.2
---
# http://www.sublimetext.com/docs/3/syntax.html
# put this into your Packages/User directory, save as .sublime-syntax file.
name: Literate Haskell (markdown-unlit)
file_extensions:
- lhs
scope: text.html.markdown.haskell
contexts:
main:
- match: ""
push: Packages/Markdown/Markdown.sublime-syntax
with_prototype:
- match: "```haskell"
push: Packages/Haskell/Haskell.sublime-syntax
with_prototype:
- match: "(?=```)"
pop: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment