Skip to content

Latest commit

 

History

History

shaku-code-annotate-core

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

shaku-code-annotate-core

The parser of comments for Shaku.

Usage

import { parseLine } from "shaku-code-annotate-core";

const shakuLine = parseLine("@highlight");
// {
//   type: "DirectiveHighlight";
//   config: {
//       isEscaped: boolean;
//       mark: "start" | "end" | "below";
//   };
// };