Official Plugins

  • CSS Loader - builtin CSS loader (don't use)
    import 'https://esm.sh/tailwindcss/dist/tailwind.min.css'
    
  • JSON Loader - load JSON as module
    import json from 'https://deno.land/x/aleph/plugins/json.ts'
    
    export default <Config>{
      plugins: [
        json()
      ]
    }
    
    limit: don't use it in APIs since Deno doesn't support JSON module yet.
  • Markdown Loader - load markdown as page
    import markdown from 'https://deno.land/x/aleph/plugins/markdown.ts'
    
    export default <Config>{
      plugins: [
        markdown()
      ]
    }
    
    now, you can add {dir}/{name}.md in pages/ dir as pages. You can link between pages with [title](path). For code highlight, check this example.