Giter Club home page Giter Club logo

ter's Issues

An empty project example with sane defaults for CI in GitHub Actions and CD to GitHub Pages

For clean separation of concerns, it could be nice to decouple the content from the site generation code, in so we could just put .ter/ and docs/ subdirectories into a repository, and have that handled by the ter CLI.

In a further step, one could also consider to decouple the presentation layer ("theme") from the site generator.

How could these separations achieved, and which good examples are known from Deno land, where this works well?

Parse date from filename

2022-02-22-page-title.md: 2022-02-22 should be used for page date if no date key is defined in frontmatter.

404 page

render and serve 404.md from content directory, if it exists

Katex support?

This is an awesome project!

I am wondering whether it is possible to add Katex support.

After some research, I found out it may be done through changing the marker renderer markedjs/marked#1538 (comment).
Now I am stuck on finding a katex binding on deno for translating const katex = require('katex').

I am not familiar with deno. Any help will be appreciated :)

Incorrectly index when folder name is not English

If I name my folder in Vietnamese, I'd build two different folder . For example, "Việt Nam" would be "Viet-Nam" and the original name. However, the index web page will link to the url point at "Viet-Nam" folder while "Việt Nam" folder is where all content are built . Accessing url at "Việt Nam" return 404 even if that folder exist

Syntax highlighting?

Would be cool to have some syntax highlighting out of the box matching the whole theme.

Page preview card on hover

When considering to visit a link, sometimes the mouse curser hovers above it for longer than one, one-and-a-half seconds.

As the consideration of the user continues, there could be a visual response that fades-in a page preview card.

This way the user might receive more useful information to decide, if it is worth visiting that page.

Deno deploy action needs upgrade to latest Deno version

When running from the default Deno version installed by the setup-deno action, the deploy action fails with:

error: The source code is invalid, as it does not match the expected hash in the lock file.
  Specifier: https://esm.sh/[email protected]/jsx-runtime
  Lock file: /home/runner/work/trg/trg/deno.lock
Error: Process completed with exit code 10.

as seen in

Pinning Deno in the workflow run to the latest available version, which was working locally, helped to mitigate the issue in my fork.

       - name: Setup Deno
-        uses: denoland/[email protected]
+        uses: denoland/setup-deno@v1
+        with:
+          deno-version: "1.34.3"

Reference:

Render pages as hidden

e.g. hidden: true in frontmatter. Lets you have unlisted pages that are not indexed.
Needs to render the pages, but remove from index lists.

table of contents can't handle markdown links

I have something like this (with toc: true):

## [link](https://example.com)

And the HTML result ends up being something like <h2><a>[link](...)</a></h2> instead of <h2><a>link</a></h2>. I wish it would unwrap the markdown link.

image

RSS feed not working?

Hello, is there any problem with the generation of the rss feed? It keeps showing my this: XML Parsing Error: mismatched tag. Expected: .
Could it be an error on my config?

This looks beautiful

The site (https://ter.deno.dev/) looks really good 😍.
Especially the font choices.

I was also thinking of making something similar to this, but since this one exists, I'll be using this instead. Thanks.

Differentiate internal and external links

Clicking a link can sometimes make me leave the page, when I just wanted to explore the site.

Would it be possible to find a non-intrusive, conventional indicator for differentiating internal and external links?

no export named 'mauve'

I'm getting

wiki (main) » deno run -A --unstable https://deno.land/x/ter/main.ts                                                                                                                                   ~/Sites/wiki
error: Uncaught SyntaxError: The requested module 'https://esm.sh/@twind/[email protected]/colors' does not provide an export named 'mauve'
  mauve as neutral,
  ^
    at <anonymous> (https://deno.land/x/[email protected]/deps.ts:69:3)

Generate sitemap

Hi!
Can you implement sitemap to this project? I'm not familiar with Deno so I don't know how.
Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.