Skip to content
This repository was archived by the owner on Feb 15, 2022. It is now read-only.
This repository was archived by the owner on Feb 15, 2022. It is now read-only.

Generalize markdown driven page component #222

@ghost

Description

"Install OCaml" demonstrates a markdown driven page. Generalize it's implementation, attempting to deal with all of the following issues:

  • Use a generic page component which renders all markdown files within a given directory (or directory subtree, if preferred). getStaticPaths should help in implementing this
  • Consider how the markdown file names will map to urls
  • Initially use a tag for all links
  • Refactor link generation to use NextJS Link component for internal links or accept limitations of not using NextJS Link component in this situation.
  • Improve general text and code block styling. Do not address highlighting in this issue. Highlighting will be dealt with in Implement code highlighting #137.

Note: Create a follow-up issue to design and implement the mobile rendering of the table of contents.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions