IIC3585-2024 / functional-js-group-07

functional-js-group-07 created by GitHub Classroom

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Markdown to HTML Transpiler

This is a simple markdown to HTML transpiler written in functional JavaScript. It does not support all markdown features, but it supports most of the basic ones.

Usage

To run the transpiler, you need to have Node.js installed on your machine. You can run the transpiler by running the following command in the terminal:

node ./src/index.js <input-file>

where input-file is the path to the markdown file you want to transpile. The transpiled HTML will be written in the html-output/ directory.

Supported Features

  • Headers (H1 to H6)
  • Emphasis
    • Bold (** and __)
    • Italics (* and _)
    • Bold and Italics (*** and ___)
  • Code
  • Unordered lists (*, +, and -)
  • Ordered lists (1., 2., etc.)
  • Links (inline only, with title attribute)
  • Images (inline only, with title and alt attributes)
  • Blockquotes (with multiple paragraphs)
  • Code blocks (fenced)
  • Paragraphs
  • Horizontal Rules

References

About

functional-js-group-07 created by GitHub Classroom


Languages

Language:JavaScript 94.1%Language:CSS 5.9%