npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

notie-markdown

v1.3.8

Published

A simple markdown note-taking app with live executable and editable code blocks.

Downloads

792

Readme

notie: React Markdown Note-taking Component

notie is a versatile note-taking solution built as a simple React component, designed to seamlessly integrate Markdown-based notes into any React application. This lightweight yet powerful tool allows you to create a customized note-taking experience that includes features like live, editable code execution, TikZ diagrams, and math equations, all within a single, intuitive interface.

Updates

9/24/2024: Version 1.3.0: notie adds support for graphing using desmos!

8/16/2024: Version 1.2.0: notie has migrated to using themes instead of dark mode. This allows for more customization options and better user experience.

8/12/2024: Version 1.1.0: Fully integrated automatic equation numbering and equation preview. reference

8/2/2024: Version 1.0.0: Initial release, published on npm registry here.

Getting Started

To start using notie, install the package via npm:

npm install notie-markdown

Then, import the Notie component in your React application:

import { Notie } from "notie-markdown";

const Example = () => (
  <Notie markdown="# Hello World\nThis is a Markdown content." />
);

The Notie component is used to render Markdown content. It accepts the following props:

Props

| Prop | Type | Description | | ------------------ | ------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | | markdown | string | The Markdown content to be rendered. | | config | NotieConfig (optional) | Configuration options for Notie, including table of contents settings, font size, and theme customization. | | theme | NotieThemes (optional) | Predefined theme option. Can be "default", "default dark", "Starlit Eclipse", or "Starlit Eclipse Light". | | customComponents | { [key: string]: () => JSX.Element } (optional) | Custom React components to be used for rendering specific elements in the markdown. |

Check out the tutorial for more detailed information on how to use notie.

Features

  • Live Coding: Use the live coding feature write and RUN your code snippets in your notes.
  • TikZ Support: Use TikZ to draw diagrams in your notes.
  • Math Equations: Write math equations using LaTeX syntax.
    • Automatic Equation Numbering: Automatically number equations and refer to them in your notes.
  • Customizable Themes: Customize the appearance of your notes with different themes.

Showcase

Features and Documentation

Checkout the tutorial to learn more about the features and documentation of notie.

Contribution

Checkout CONTRIBUTING.md.

Acknowledgements

This project makes use of several open-source projects and resources. We extend our gratitude to the developers and maintainers of these projects. Here is a list of them along with their respective licenses:

React CodeMirror

  • Author(s): uiw
  • License: MIT

Bootstrap

  • Author(s): The Bootstrap Authors
  • License: MIT

Evergreen UI

  • Author(s): Segment.io, Inc.
  • License: MIT

KaTeX

  • Author(s): Khan Academy
  • License: MIT

react-code-blocks

  • Author(s): Raj K Singh
  • License: MIT

react-markdown

  • Author(s): Espen Hovlandsdal
  • License: MIT

remark-math

  • Author(s): Junyoung Choi
  • License: MIT

We are thankful to all the open-source projects and their contributors for making their resources available, which have greatly facilitated the development of this project.