1.3.27 • Published 3 years ago

@casianojr/docs v1.3.27

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
3 years ago

@lpgroup/docs

MDX parser library that returns a styled JSX.

Contents

Getting Started

The objective of this library is to parse MDX files and convert them into a ready-made 'documentation format'.

yarn create vite

Installation

To install this library, we can run in the command line.

# via yarn
yarn add @lpgroup/docs

# via npm
npm install --save @lpgroup/docs

MDX Setup

import React from "react";
import LPDocs, { DocsSkeleton } from "@lpgroup/docs";
import { SampleLogo, Footer } from "./custom/SampleLogo";

const Pages = React.lazy(() => import("./pages/v1"));

function App() {
  return (
    <LPDocs Logo={SampleLogo} Footer={Footer} sideBarHeight={60} isAuth={true} textAlign={"justify"}>
      <React.Suspense fallback={<DocsSkeleton />}>
        <Pages />
      </React.Suspense>
    </LPDocs>
  );
}

export default App;

Contribute

See contribute

License

MIT - See licence

1.3.27

3 years ago

1.3.26

3 years ago

1.3.25

3 years ago

1.3.24

3 years ago

1.3.23

3 years ago

1.3.22

3 years ago

1.3.21

3 years ago

1.3.20

3 years ago

1.3.19

3 years ago

1.3.18

3 years ago

1.3.17

3 years ago

1.3.16

3 years ago

1.3.15

3 years ago