Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@microsoft/docs-markdown-editor

Package Overview
Dependencies
Maintainers
5
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/docs-markdown-editor

Docs Markdown Editor for markdown WYSIWYG editor

  • 1.0.9
  • npm
  • Socket score

Version published
Weekly downloads
18
increased by1700%
Maintainers
5
Weekly downloads
 
Created
Source

Introduction

Docs Markdown Editor is a rich web editor with markdown editing and WYSIWYG functionality to be plugged in to multiple authoring sites including Docs, Q&A, Renewal Asessments, and Self Assessments. The editor itself is built on top of the Stack Overflow Stacks Editor. This repos purpose is to build a rich editing experience without the overhead of docs-ui and create a light weight development experience for developing editors that will be plugged into the authoring sites above.

Getting Started

  1. Requires node. LTS or current are fine, just make sure you have 15.x.x or higher. Use node --version to check your installed version. Alternatively, install the Node Version Manager (NVM) for Windows, and run the following command to use Node 15: nvm use 15.7.0.
  2. Get started by running the command npm install to install the required node modules.
  3. Run the program using npm run start
  4. Navigate to the URL route based on what mode you will be developing with.
    • There are 4 modes:
      • Docs: /docs
      • Q&A: /qna
      • Self Assessments: /self-assessments
      • Renewal Assessments: /renewal-assessments
  5. The routes will be as follows: localhost:1234/docs or localhost:1234/renewal-assessments for example.

Test

To test run npm run test command to run the tests. NOTE: tests are to be created and will be implemented in the comming days.

Build

Production builds can be created via the build command npm run build The dist/index.js contain the contents of the package.

Contribute

Information that might help with working on any part of Docs can be found in the Contributor Guide. If you can't find what you're looking in there, try asking for help in Teams. If something should be added to the Contributor Guide, submit a PR!

Keywords

FAQs

Package last updated on 14 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc