Now, it's time to test the web portion of our application and see how the component behaves. Let's get started:
- Run the application with the npm start command. You should see the following in the window:
Note that the # hello value that we provide from within our Editor component is default text.
- Navigate to https://microsoft.github.io/monaco-editor/, as shown in the following screenshot:
- Select the markdown example from the dropdown and copy the content of the example.
- Switch back to your application and paste the content into the text editing area.
- Your editor should now look as follows:
Notice how the editor formats the text and provides syntax highlighting. This means you have got your component up and running successfully.