{"id":60780,"date":"2024-07-01T16:48:11","date_gmt":"2024-07-01T16:48:11","guid":{"rendered":"https:\/\/puresourcecode.com\/?p=60780"},"modified":"2024-07-01T16:48:14","modified_gmt":"2024-07-01T16:48:14","slug":"new-markdowneditor-components-for-javascript-and-blazor","status":"publish","type":"post","link":"https:\/\/puresourcecode.com\/javascript\/new-markdowneditor-components-for-javascript-and-blazor\/","title":{"rendered":"New MarkdownEditor components for JavaScript and Blazor"},"content":{"rendered":"\n<p>Today, after 2 years, I released a new MarkdownEditor components for JavaScript and Blazor. In 2022, I created a <a href=\"https:\/\/puresourcecode.com\/dotnet\/blazor\/markdown-editor-component-for-blazor\/\">Markdown Editor for Blazor<\/a> based on EasyMDE, a JavaScript code that implements a markdown editor. EasyMDE is a wrap on SimpleMDE another JavaScript code.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2024\/07\/51319377-26fe6e00-1a5d-11e9-8cc6-3137a566796d.png?w=640&#038;ssl=1\" alt=\"New MarkdownEditor components for JavaScript and Blazor\"\/><\/figure>\n<\/div>\n\n\n<p>Because I found some bugs in the scripts and the projects were not maintained anymore, I decided to continue this great JavaScript code and, at the same time, improve my component for Blazor.<\/p>\n\n\n\n<p>Now, you can find the source code and help me to improve the projects here:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/github.com\/erossini\/EasyMarkdownEditor\" target=\"_blank\" rel=\"noreferrer noopener\">Easy Markdown Editor for JavaScript<\/a>: a simple, beautiful, and embeddable JavaScript Markdown editor. Delightful editing for beginners and experts alike. Features built-in autosaving and spell-checking.<\/li>\n\n\n\n<li><a href=\"https:\/\/github.com\/erossini\/BlazorMarkdownEditor\" target=\"_blank\" rel=\"noreferrer noopener\">Markdown Editor for Blazor<\/a>: this is the component for Blazor based on the previous project<\/li>\n\n\n\n<li><a href=\"http:\/\/markdown.puresourcecode.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Try now<\/a> my project<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How to use the JavaScript code<\/h2>\n\n\n\n<p>First, you have to install the package from <a href=\"https:\/\/www.npmjs.com\/package\/psc-markdowneditor\" target=\"_blank\" rel=\"noreferrer noopener\">npm<\/a>:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nnpm install psc-markdowneditor\n<\/pre><\/div>\n\n\n<p>Another option is to add the required scripts in your HTML using <code>UNPKG<\/code>:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;link rel=&quot;stylesheet&quot; href=&quot;https:\/\/unpkg.com\/psc-markdowneditor\/dist\/easymde.min.css&quot;&gt;\n&lt;script src=&quot;https:\/\/unpkg.com\/psc-markdowneditor\/dist\/easymde.min.js&quot;&gt;&lt;\/script&gt;\n<\/pre><\/div>\n\n\n<p>or via jsDelivr<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;link rel=&quot;stylesheet&quot; href=&quot;https:\/\/cdn.jsdelivr.net\/gh\/erossini\/EasyMarkdownEditor@main\/dist\/easymde.min.css&quot;&gt;\n&lt;script src=&quot;https:\/\/cdn.jsdelivr.net\/gh\/erossini\/EasyMarkdownEditor@main\/dist\/easymde.min.js&quot;&gt;&lt;\/script&gt;\n<\/pre><\/div>\n\n\n<p>Then, add a <code>textarea<\/code> in your HTML code like that:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;textarea&gt;&lt;\/textarea&gt;\n&lt;script&gt;\nconst easyMDE = new EasyMDE();\n&lt;\/script&gt;\n<\/pre><\/div>\n\n\n<p>Alternatively, you can select a specific `textarea`, via JavaScript:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;textarea id=&quot;my-text-area&quot;&gt;&lt;\/textarea&gt;\n&lt;script&gt;\nconst easyMDE = new EasyMDE({element: document.getElementById(&#039;my-text-area&#039;)});\n&lt;\/script&gt;\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">Editor functions<\/h2>\n\n\n\n<p>Use <code>easyMDE.value()<\/code> to get the content of the editor:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;script&gt;\neasyMDE.value();\n&lt;\/script&gt;\n<\/pre><\/div>\n\n\n<p>Use <code>easyMDE.value(val)<\/code> to set the content of the editor:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;script&gt;\neasyMDE.value(&#039;New input for **EasyMDE**&#039;);\n&lt;\/script&gt;\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">Options<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>autoDownloadFontAwesome<\/strong>: If set to <code>true<\/code>, force downloads Font Awesome (used for icons). If set to <code>false<\/code>, prevents downloading. Defaults to <code>undefined<\/code>, which will intelligently check whether Font Awesome has already been included, then download accordingly.<\/li>\n\n\n\n<li><strong>autofocus<\/strong>: If set to <code>true<\/code>, focuses the editor automatically. Defaults to <code>false<\/code>.<\/li>\n\n\n\n<li><strong>autosave<\/strong>: <em>Saves the text that&#8217;s being written and will load it back in the future. It will forget the text when the form it&#8217;s contained in is submitted.<\/em><\/li>\n\n\n\n<li><strong>enabled<\/strong>: If set to <code>true<\/code>, saves the text automatically. Defaults to <code>false<\/code>.<\/li>\n\n\n\n<li><strong>delay<\/strong>: Delay between saves, in milliseconds. Defaults to <code>10000<\/code> (10 seconds).<\/li>\n\n\n\n<li><strong>submit_delay<\/strong>: Delay before assuming that submit of the form failed and saving the text, in milliseconds. Defaults to <code>autosave.delay<\/code> or <code>10000<\/code> (10 seconds).<\/li>\n\n\n\n<li><strong>uniqueId<\/strong>: You must set a unique string identifier so that EasyMDE can autosave. Something that separates this from other instances of EasyMDE elsewhere on your website.<\/li>\n\n\n\n<li><strong>timeFormat<\/strong>: Set DateTimeFormat. More information see <a href=\"https:\/\/developer.mozilla.org\/en\/docs\/Web\/JavaScript\/Reference\/Global_Objects\/DateTimeFormat\" target=\"_blank\" rel=\"noreferrer noopener\">DateTimeFormat instances<\/a>. Default <code>locale: en-US, format: hour:minute<\/code>.<\/li>\n\n\n\n<li><strong>text<\/strong>: Set text for autosave.<\/li>\n\n\n\n<li><strong>autoRefresh<\/strong>: Useful, when initializing the editor in a hidden DOM node. If set to <code>{ delay: 300 }<\/code>, it will check every 300 ms if the editor is visible and if positive, call CodeMirror&#8217;s <a href=\"https:\/\/codemirror.net\/doc\/manual.html#refresh\" target=\"_blank\" rel=\"noreferrer noopener\"><code>refresh()<\/code><\/a>.<\/li>\n\n\n\n<li><strong>blockStyles<\/strong>: Customize how certain buttons that style blocks of text behave.<\/li>\n\n\n\n<li><strong>bold<\/strong>: Can be set to <code>**<\/code> or <code>__<\/code>. Defaults to <code>**<\/code>.<\/li>\n\n\n\n<li><strong>code<\/strong>: Can be set to <code>```<\/code> or <code>~~~<\/code>. Defaults to <code>```<\/code>.<\/li>\n\n\n\n<li><strong>italic<\/strong>: Can be set to <code>*<\/code> or <code>_<\/code>. Defaults to <code>*<\/code>.<\/li>\n\n\n\n<li><strong>unorderedListStyle<\/strong>: can be <code>*<\/code>, <code>-<\/code> or <code>+<\/code>. Defaults to <code>*<\/code>.<\/li>\n\n\n\n<li><strong>scrollbarStyle<\/strong>: Chooses a scrollbar implementation. The default is &#8220;native&#8221;, showing native scrollbars. The core library also provides the &#8220;null&#8221; style, which completely hides the scrollbars. Addons can implement additional scrollbar models.<\/li>\n\n\n\n<li><strong>element<\/strong>: The DOM element for the <code>textarea<\/code> element to use. Defaults to the first <code>textarea<\/code> element on the page.<\/li>\n\n\n\n<li><strong>forceSync<\/strong>: If set to <code>true<\/code>, force text changes made in EasyMDE to be immediately stored in original text area. Defaults to <code>false<\/code>.<\/li>\n\n\n\n<li><strong>hideIcons<\/strong>: An array of icon names to hide. Can be used to hide specific icons shown by default without completely customizing the toolbar.<\/li>\n\n\n\n<li><strong>indentWithTabs<\/strong>: If set to <code>false<\/code>, indent using spaces instead of tabs. Defaults to <code>true<\/code>.<\/li>\n\n\n\n<li><strong>initialValue<\/strong>: If set, will customize the initial value of the editor.<\/li>\n\n\n\n<li><strong>previewImagesInEditor<\/strong>: &#8211; EasyMDE will show preview of images, <code>false<\/code> by default, preview for images will appear only for images on separate lines.<\/li>\n\n\n\n<li><strong>imagesPreviewHandler<\/strong>: &#8211; A custom function for handling the preview of images. Takes the parsed string between the parantheses of the image markdown <code>![]( )<\/code> as argument and returns a string that serves as the <code>src<\/code> attribute of the <code>&lt;img><\/code> tag in the preview. Enables dynamic previewing of images in the frontend without having to upload them to a server, allows copy-pasting of images to the editor with preview.<\/li>\n\n\n\n<li><strong>insertTexts<\/strong>: Customize how certain buttons that insert text behave. Takes an array with two elements. The first element will be the text inserted before the cursor or highlight, and the second element will be inserted after. For example, this is the default link value: <code>[\"[\", \"](http:\/\/)\"]<\/code>.<\/li>\n\n\n\n<li>horizontalRule<\/li>\n\n\n\n<li>image<\/li>\n\n\n\n<li>link<\/li>\n\n\n\n<li>table<\/li>\n\n\n\n<li><strong>lineNumbers<\/strong>: If set to <code>true<\/code>, enables line numbers in the editor.<\/li>\n\n\n\n<li><strong>lineWrapping<\/strong>: If set to <code>false<\/code>, disable line wrapping. Defaults to <code>true<\/code>.<\/li>\n\n\n\n<li><strong>minHeight<\/strong>: Sets the minimum height for the composition area, before it starts auto-growing. Should be a string containing a valid CSS value like <code>\"500px\"<\/code>. Defaults to <code>\"300px\"<\/code>.<\/li>\n\n\n\n<li><strong>maxHeight<\/strong>: Sets fixed height for the composition area. <code>minHeight<\/code> option will be ignored. Should be a string containing a valid CSS value like <code>\"500px\"<\/code>. Defaults to <code>undefined<\/code>.<\/li>\n\n\n\n<li><strong>onToggleFullScreen<\/strong>: A function that gets called when the editor&#8217;s full screen mode is toggled. The function will be passed a boolean as parameter, <code>true<\/code> when the editor is currently going into full screen mode, or <code>false<\/code>.<\/li>\n\n\n\n<li><strong>parsingConfig<\/strong>: Adjust settings for parsing the Markdown during editing (not previewing).<\/li>\n\n\n\n<li><strong>allowAtxHeaderWithoutSpace<\/strong>: If set to <code>true<\/code>, will render headers without a space after the <code>#<\/code>. Defaults to <code>false<\/code>.<\/li>\n\n\n\n<li><strong>strikethrough<\/strong>: If set to <code>false<\/code>, will not process GFM strikethrough syntax. Defaults to <code>true<\/code>.<\/li>\n\n\n\n<li><strong>underscoresBreakWords<\/strong>: If set to <code>true<\/code>, let underscores be a delimiter for separating words. Defaults to <code>false<\/code>.<\/li>\n\n\n\n<li><strong>overlayMode<\/strong>: Pass a custom codemirror <a href=\"https:\/\/codemirror.net\/doc\/manual.html#modeapi\" target=\"_blank\" rel=\"noreferrer noopener\">overlay mode<\/a> to parse and style the Markdown during editing.<\/li>\n\n\n\n<li><strong>mode<\/strong>: A codemirror mode object.<\/li>\n\n\n\n<li><strong>combine<\/strong>: If set to <code>false<\/code>, will <em>replace<\/em> CSS classes returned by the default Markdown mode. Otherwise the classes returned by the custom mode will be combined with the classes returned by the default mode. Defaults to <code>true<\/code>.<\/li>\n\n\n\n<li><strong>placeholder<\/strong>: If set, displays a custom placeholder message.<\/li>\n\n\n\n<li><strong>previewClass<\/strong>: A string or array of strings that will be applied to the preview screen when activated. Defaults to <code>\"editor-preview\"<\/code>.<\/li>\n\n\n\n<li><strong>previewRender<\/strong>: Custom function for parsing the plaintext Markdown and returning HTML. Used when user previews.<\/li>\n\n\n\n<li><strong>promptURLs<\/strong>: If set to <code>true<\/code>, a JS alert window appears asking for the link or image URL. Defaults to <code>false<\/code>.<\/li>\n\n\n\n<li><strong>promptTexts<\/strong>: Customize the text used to prompt for URLs.<\/li>\n\n\n\n<li><strong>image<\/strong>: The text to use when prompting for an image&#8217;s URL. Defaults to <code>URL of the image:<\/code>.<\/li>\n\n\n\n<li><strong>link<\/strong>: The text to use when prompting for a link&#8217;s URL. Defaults to <code>URL for the link:<\/code>.<\/li>\n\n\n\n<li><strong>iconClassMap<\/strong>: Used to specify the icon class names for the various toolbar buttons.<\/li>\n\n\n\n<li><strong>uploadImage<\/strong>: If set to <code>true<\/code>, enables the image upload functionality, which can be triggered by drag and drop, copy-paste and through the browse-file window (opened when the user click on the <em>upload-image<\/em> icon). Defaults to <code>false<\/code>.<\/li>\n\n\n\n<li><strong>imageMaxSize<\/strong>: Maximum image size in bytes, checked before upload (note: never trust client, always check the image size at server-side). Defaults to <code>1024 * 1024 * 2<\/code> (2 MB).<\/li>\n\n\n\n<li><strong>imageAccept<\/strong>: A comma-separated list of mime-types used to check image type before upload (note: never trust client, always check file types at server-side). Defaults to <code>image\/png, image\/jpeg<\/code>.<\/li>\n\n\n\n<li><strong>imageUploadFunction<\/strong>: A custom function for handling the image upload. Using this function will render the options <code>imageMaxSize<\/code>, <code>imageAccept<\/code>, <code>imageUploadEndpoint<\/code> and <code>imageCSRFToken<\/code> ineffective.\n<ul class=\"wp-block-list\">\n<li>The function gets a file and <code>onSuccess<\/code> and <code>onError<\/code> callback functions as parameters. <code>onSuccess(imageUrl: string)<\/code> and <code>onError(errorMessage: string)<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>imageUploadEndpoint<\/strong>: The endpoint where the images data will be sent, via an asynchronous <em>POST<\/em> request. The server is supposed to save this image, and return a JSON response.\n<ul class=\"wp-block-list\">\n<li>if the request was successfully processed (HTTP 200 OK): <code>{\"data\": {\"filePath\": \"&lt;filePath>\"}}<\/code> where <em>filePath<\/em> is the path of the image (absolute if <code>imagePathAbsolute<\/code> is set to true, relative if otherwise);<\/li>\n\n\n\n<li>otherwise: <code>{\"error\": \"&lt;errorCode>\"}<\/code>, where <em>errorCode<\/em> can be <code>noFileGiven<\/code> (HTTP 400 Bad Request), <code>typeNotAllowed<\/code> (HTTP 415 Unsupported Media Type), <code>fileTooLarge<\/code> (HTTP 413 Payload Too Large) or <code>importError<\/code> (see <em>errorMessages<\/em> below). If <em>errorCode<\/em> is not one of the <em>errorMessages<\/em>, it is alerted unchanged to the user. This allows for server-side error messages.<br>No default value.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>imagePathAbsolute<\/strong>: If set to <code>true<\/code>, will treat <code>imageUrl<\/code> from <code>imageUploadFunction<\/code> and <em>filePath<\/em> returned from <code>imageUploadEndpoint<\/code> as an absolute rather than relative path, i.e. not prepend <code>window.location.origin<\/code> to it.<\/li>\n\n\n\n<li><strong>imageCSRFToken<\/strong>: CSRF token to include with AJAX call to upload image. For various instances like Django, Spring and Laravel.<\/li>\n\n\n\n<li><strong>imageCSRFName<\/strong>: CSRF token filed name to include with AJAX call to upload image, applied when <code>imageCSRFToken<\/code> has value, defaults to <code>csrfmiddlewaretoken<\/code>.<\/li>\n\n\n\n<li><strong>imageCSRFHeader<\/strong>: If set to <code>true<\/code>, passing CSRF token via header. Defaults to <code>false<\/code>, which pass CSRF through request body.<\/li>\n\n\n\n<li><strong>imageTexts<\/strong>: Texts displayed to the user (mainly on the status bar) for the import image feature, where <code>#image_name#<\/code>, <code>#image_size#<\/code> and <code>#image_max_size#<\/code> will replaced by their respective values, that can be used for customization or internationalization:\n<ul class=\"wp-block-list\">\n<li><strong>sbInit<\/strong>: Status message displayed initially if <code>uploadImage<\/code> is set to <code>true<\/code>. Defaults to <code>Attach files by drag and dropping or pasting from clipboard.<\/code>.<\/li>\n\n\n\n<li><strong>sbOnDragEnter<\/strong>: Status message displayed when the user drags a file to the text area. Defaults to <code>Drop image to upload it.<\/code>.<\/li>\n\n\n\n<li><strong>sbOnDrop<\/strong>: Status message displayed when the user drops a file in the text area. Defaults to <code>Uploading images #images_names#<\/code>.<\/li>\n\n\n\n<li><strong>sbProgress<\/strong>: Status message displayed to show uploading progress. Defaults to <code>Uploading #file_name#: #progress#%<\/code>.<\/li>\n\n\n\n<li><strong>sbOnUploaded<\/strong>: Status message displayed when the image has been uploaded. Defaults to <code>Uploaded #image_name#<\/code>.<\/li>\n\n\n\n<li><strong>sizeUnits<\/strong>: A comma-separated list of units used to display messages with human-readable file sizes. Defaults to <code>B, KB, MB<\/code> (example: <code>218 KB<\/code>). You can use <code>B,KB,MB<\/code> instead if you prefer without whitespaces (<code>218KB<\/code>).<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>errorMessages<\/strong>: Errors displayed to the user, using the <code>errorCallback<\/code> option, where <code>#image_name#<\/code>, <code>#image_size#<\/code> and <code>#image_max_size#<\/code> will replaced by their respective values, that can be used for customization or internationalization:\n<ul class=\"wp-block-list\">\n<li><strong>noFileGiven<\/strong>: The server did not receive any file from the user. Defaults to <code>You must select a file.<\/code>.<\/li>\n\n\n\n<li><strong>typeNotAllowed<\/strong>: The user send a file type which doesn&#8217;t match the <code>imageAccept<\/code> list, or the server returned this error code. Defaults to <code>This image type is not allowed.<\/code>.<\/li>\n\n\n\n<li><strong>fileTooLarge<\/strong>: The size of the image being imported is bigger than the <code>imageMaxSize<\/code>, or if the server returned this error code. Defaults to <code>Image #image_name# is too big (#image_size#).\\nMaximum file size is #image_max_size#.<\/code>.<\/li>\n\n\n\n<li><strong>importError<\/strong>: An unexpected error occurred when uploading the image. Defaults to <code>Something went wrong when uploading the image #image_name#.<\/code>.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>errorCallback<\/strong>: A callback function used to define how to display an error message. Defaults to <code>(errorMessage) => alert(errorMessage)<\/code>.<\/li>\n\n\n\n<li><strong>renderingConfig<\/strong>: Adjust settings for parsing the Markdown during previewing (not editing).<\/li>\n\n\n\n<li><strong>codeSyntaxHighlighting<\/strong>: If set to <code>true<\/code>, will highlight using <a href=\"https:\/\/github.com\/isagalaev\/highlight.js\" target=\"_blank\" rel=\"noreferrer noopener\">highlight.js<\/a>. Defaults to <code>false<\/code>. To use this feature you must include highlight.js on your page or pass in using the <code>hljs<\/code> option. For example, include the script and the CSS files like:<br><code>&lt;script src=\"https:\/\/cdn.jsdelivr.net\/highlight.js\/latest\/highlight.min.js\">&lt;\/script><\/code><br><code>&lt;link rel=\"stylesheet\" href=\"https:\/\/cdn.jsdelivr.net\/highlight.js\/latest\/styles\/github.min.css\"><\/code><\/li>\n\n\n\n<li><strong>hljs<\/strong>: An injectible instance of <a href=\"https:\/\/github.com\/isagalaev\/highlight.js\" target=\"_blank\" rel=\"noreferrer noopener\">highlight.js<\/a>. If you don&#8217;t want to rely on the global namespace (<code>window.hljs<\/code>), you can provide an instance here. Defaults to <code>undefined<\/code>.<\/li>\n\n\n\n<li><strong>markedOptions<\/strong>: Set the internal Markdown renderer&#8217;s <a href=\"https:\/\/marked.js.org\/#\/USING_ADVANCED.md#options\" target=\"_blank\" rel=\"noreferrer noopener\">options<\/a>. Other <code>renderingConfig<\/code> options will take precedence.<\/li>\n\n\n\n<li><strong>singleLineBreaks<\/strong>: If set to <code>false<\/code>, disable parsing <a href=\"https:\/\/github.github.com\/gfm\/\" target=\"_blank\" rel=\"noreferrer noopener\">GitHub Flavored Markdown<\/a> (GFM) single line breaks. Defaults to <code>true<\/code>.<\/li>\n\n\n\n<li><strong>sanitizerFunction<\/strong>: Custom function for sanitizing the HTML output of Markdown renderer.<\/li>\n\n\n\n<li><strong>shortcuts<\/strong>: Keyboard shortcuts associated with this instance. Defaults to the <a href=\"#keyboard-shortcuts\">array of shortcuts<\/a>.<\/li>\n\n\n\n<li><strong>showIcons<\/strong>: An array of icon names to show. Can be used to show specific icons hidden by default without completely customizing the toolbar.<\/li>\n\n\n\n<li><strong>spellChecker<\/strong>: If set to <code>false<\/code>, disable the spell checker. Defaults to <code>true<\/code>. Optionally pass a CodeMirrorSpellChecker-compliant function.<\/li>\n\n\n\n<li><strong>inputStyle<\/strong>: <code>textarea<\/code> or <code>contenteditable<\/code>. Defaults to <code>textarea<\/code> for desktop and <code>contenteditable<\/code> for mobile. <code>contenteditable<\/code> option is necessary to enable nativeSpellcheck.<\/li>\n\n\n\n<li><strong>nativeSpellcheck<\/strong>: If set to <code>false<\/code>, disable native spell checker. Defaults to <code>true<\/code>.<\/li>\n\n\n\n<li><strong>sideBySideFullscreen<\/strong>: If set to <code>false<\/code>, allows side-by-side editing without going into fullscreen. Defaults to <code>true<\/code>.<\/li>\n\n\n\n<li><strong>status<\/strong>: If set to <code>false<\/code>, hide the status bar. Defaults to the array of built-in status bar items.<\/li>\n\n\n\n<li>Optionally, you can set an array of status bar items to include, and in what order. You can even define your own custom status bar items.<\/li>\n\n\n\n<li><strong>styleSelectedText<\/strong>: If set to <code>false<\/code>, remove the <code>CodeMirror-selectedtext<\/code> class from selected lines. Defaults to <code>true<\/code>.<\/li>\n\n\n\n<li><strong>syncSideBySidePreviewScroll<\/strong>: If set to <code>false<\/code>, disable syncing scroll in side by side mode. Defaults to <code>true<\/code>.<\/li>\n\n\n\n<li><strong>tabSize<\/strong>: If set, customize the tab size. Defaults to <code>2<\/code>.<\/li>\n\n\n\n<li><strong>theme<\/strong>: Override the theme. Defaults to <code>easymde<\/code>.<\/li>\n\n\n\n<li><strong>toolbar<\/strong>: If set to <code>false<\/code>, hide the toolbar. Defaults to the <a href=\"#toolbar-icons\" target=\"_blank\" rel=\"noreferrer noopener\">array of icons<\/a>.<\/li>\n\n\n\n<li><strong>toolbarTips<\/strong>: If set to <code>false<\/code>, disable toolbar button tips. Defaults to <code>true<\/code>.<\/li>\n\n\n\n<li><strong>toolbarButtonClassPrefix<\/strong>: Adds a prefix to the toolbar button classes when set. For example, a value of <code>\"mde\"<\/code> results in <code>\"mde-bold\"<\/code> for the Bold button.<\/li>\n\n\n\n<li><strong>direction<\/strong>: <code>rtl<\/code> or <code>ltr<\/code>. Changes text direction to support right-to-left languages. Defaults to <code>ltr<\/code>.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Toolbar icons<\/h2>\n\n\n\n<p>Below are the built-in toolbar icons (only some of which are enabled by default), which can be reorganized however you like. &#8220;Name&#8221; is the name of the icon, referenced in the JavaScript. &#8220;Action&#8221; is either a function or a URL to open. &#8220;Class&#8221; is the class given to the icon. &#8220;Tooltip&#8221; is the small tooltip that appears via the <code>title=\"\"<\/code> attribute. Note that shortcut hints are added automatically and reflect the specified action if it has a key bind assigned to it (i.e. with the value of <code>action<\/code> set to <code>bold<\/code> and that of <code>tooltip<\/code> set to <code>Bold<\/code>, the final text the user will see would be &#8220;Bold (Ctrl-B)&#8221;).<\/p>\n\n\n\n<p>Additionally, you can add a separator between any icons by adding <code>\"|\"<\/code> to the toolbar array.<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><thead><tr><th>Name<\/th><th>Action<\/th><th>Tooltip<br>Class<\/th><\/tr><\/thead><tbody><tr><td>bold<\/td><td>toggleBold<\/td><td>Bold<br>fa fa-bold<\/td><\/tr><tr><td>italic<\/td><td>toggleItalic<\/td><td>Italic<br>fa fa-italic<\/td><\/tr><tr><td>strikethrough<\/td><td>toggleStrikethrough<\/td><td>Strikethrough<br>fa fa-strikethrough<\/td><\/tr><tr><td>heading<\/td><td>toggleHeadingSmaller<\/td><td>Heading<br>fa fa-header<\/td><\/tr><tr><td>heading-smaller<\/td><td>toggleHeadingSmaller<\/td><td>Smaller Heading<br>fa fa-header<\/td><\/tr><tr><td>heading-bigger<\/td><td>toggleHeadingBigger<\/td><td>Bigger Heading<br>fa fa-lg fa-header<\/td><\/tr><tr><td>heading-1<\/td><td>toggleHeading1<\/td><td>Big Heading<br>fa fa-header header-1<\/td><\/tr><tr><td>heading-2<\/td><td>toggleHeading2<\/td><td>Medium Heading<br>fa fa-header header-2<\/td><\/tr><tr><td>heading-3<\/td><td>toggleHeading3<\/td><td>Small Heading<br>fa fa-header header-3<\/td><\/tr><tr><td>code<\/td><td>toggleCodeBlock<\/td><td>Code<br>fa fa-code<\/td><\/tr><tr><td>quote<\/td><td>toggleBlockquote<\/td><td>Quote<br>fa fa-quote-left<\/td><\/tr><tr><td>unordered-list<\/td><td>toggleUnorderedList<\/td><td>Generic List<br>fa fa-list-ul<\/td><\/tr><tr><td>ordered-list<\/td><td>toggleOrderedList<\/td><td>Numbered List<br>fa fa-list-ol<\/td><\/tr><tr><td>clean-block<\/td><td>cleanBlock<\/td><td>Clean block<br>fa fa-eraser<\/td><\/tr><tr><td>link<\/td><td>drawLink<\/td><td>Create Link<br>fa fa-link<\/td><\/tr><tr><td>image<\/td><td>drawImage<\/td><td>Insert Image<br>fa fa-picture-o<\/td><\/tr><tr><td>upload-image<\/td><td>drawUploadedImage<\/td><td>Raise browse-file window<br>fa fa-image<\/td><\/tr><tr><td>table<\/td><td>drawTable<\/td><td>Insert Table<br>fa fa-table<\/td><\/tr><tr><td>horizontal-rule<\/td><td>drawHorizontalRule<\/td><td>Insert Horizontal Line<br>fa fa-minus<\/td><\/tr><tr><td>preview<\/td><td>togglePreview<\/td><td>Toggle Preview<br>fa fa-eye no-disable<\/td><\/tr><tr><td>side-by-side<\/td><td>toggleSideBySide<\/td><td>Toggle Side by Side<br>fa fa-columns no-disable no-mobile<\/td><\/tr><tr><td>fullscreen<\/td><td>toggleFullScreen<\/td><td>Toggle Fullscreen<br>fa fa-arrows-alt no-disable no-mobile<\/td><\/tr><tr><td>guide<\/td><td><a href=\"https:\/\/www.markdownguide.org\/basic-syntax\/\">This link<\/a><\/td><td>Markdown Guide<br>fa fa-question-circle<\/td><\/tr><tr><td>undo<\/td><td>undo<\/td><td>Undo<br>fa fa-undo<\/td><\/tr><tr><td>redo<\/td><td>redo<\/td><td>Redo<br>fa fa-redo<\/td><\/tr><tr><td>indent<\/td><td>indent<\/td><td>Indent<br>fa fa-indent<\/td><\/tr><tr><td>outdent<\/td><td>outdent<\/td><td>Outdent<br>fa fa-outdent<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Keyboard shortcuts<\/h2>\n\n\n\n<p>EasyMDE comes with an array of predefined keyboard shortcuts, but they can be altered with a configuration option. The list of default ones is as follows:<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><thead><tr><th>Shortcut (Windows \/ Linux)<\/th><th>Shortcut (macOS)<\/th><th>Action<\/th><\/tr><\/thead><tbody><tr><td><kbd>Ctrl<\/kbd>&#8211;<kbd>'<\/kbd><\/td><td><kbd>Cmd<\/kbd>&#8211;<kbd>'<\/kbd><\/td><td>&#8220;toggleBlockquote&#8221;<\/td><\/tr><tr><td><kbd>Ctrl<\/kbd>&#8211;<kbd>B<\/kbd><\/td><td><kbd>Cmd<\/kbd>&#8211;<kbd>B<\/kbd><\/td><td>&#8220;toggleBold&#8221;<\/td><\/tr><tr><td><kbd>Ctrl<\/kbd>&#8211;<kbd>E<\/kbd><\/td><td><kbd>Cmd<\/kbd>&#8211;<kbd>E<\/kbd><\/td><td>&#8220;cleanBlock&#8221;<\/td><\/tr><tr><td><kbd>Ctrl<\/kbd>&#8211;<kbd>H<\/kbd><\/td><td><kbd>Cmd<\/kbd>&#8211;<kbd>H<\/kbd><\/td><td>&#8220;toggleHeadingSmaller&#8221;<\/td><\/tr><tr><td><kbd>Ctrl<\/kbd>&#8211;<kbd>I<\/kbd><\/td><td><kbd>Cmd<\/kbd>&#8211;<kbd>I<\/kbd><\/td><td>&#8220;toggleItalic&#8221;<\/td><\/tr><tr><td><kbd>Ctrl<\/kbd>&#8211;<kbd>K<\/kbd><\/td><td><kbd>Cmd<\/kbd>&#8211;<kbd>K<\/kbd><\/td><td>&#8220;drawLink&#8221;<\/td><\/tr><tr><td><kbd>Ctrl<\/kbd>&#8211;<kbd>L<\/kbd><\/td><td><kbd>Cmd<\/kbd>&#8211;<kbd>L<\/kbd><\/td><td>&#8220;toggleUnorderedList&#8221;<\/td><\/tr><tr><td><kbd>Ctrl<\/kbd>&#8211;<kbd>P<\/kbd><\/td><td><kbd>Cmd<\/kbd>&#8211;<kbd>P<\/kbd><\/td><td>&#8220;togglePreview&#8221;<\/td><\/tr><tr><td><kbd>Ctrl<\/kbd>&#8211;<kbd>Alt<\/kbd>&#8211;<kbd>C<\/kbd><\/td><td><kbd>Cmd<\/kbd>&#8211;<kbd>Alt<\/kbd>&#8211;<kbd>C<\/kbd><\/td><td>&#8220;toggleCodeBlock&#8221;<\/td><\/tr><tr><td><kbd>Ctrl<\/kbd>&#8211;<kbd>Alt<\/kbd>&#8211;<kbd>I<\/kbd><\/td><td><kbd>Cmd<\/kbd>&#8211;<kbd>Alt<\/kbd>&#8211;<kbd>I<\/kbd><\/td><td>&#8220;drawImage&#8221;<\/td><\/tr><tr><td><kbd>Ctrl<\/kbd>&#8211;<kbd>Alt<\/kbd>&#8211;<kbd>L<\/kbd><\/td><td><kbd>Cmd<\/kbd>&#8211;<kbd>Alt<\/kbd>&#8211;<kbd>L<\/kbd><\/td><td>&#8220;toggleOrderedList&#8221;<\/td><\/tr><tr><td><kbd>Shift<\/kbd>&#8211;<kbd>Ctrl<\/kbd>&#8211;<kbd>H<\/kbd><\/td><td><kbd>Shift<\/kbd>&#8211;<kbd>Cmd<\/kbd>&#8211;<kbd>H<\/kbd><\/td><td>&#8220;toggleHeadingBigger&#8221;<\/td><\/tr><tr><td><kbd>F9<\/kbd><\/td><td><kbd>F9<\/kbd><\/td><td>&#8220;toggleSideBySide&#8221;<\/td><\/tr><tr><td><kbd>F11<\/kbd><\/td><td><kbd>F11<\/kbd><\/td><td>&#8220;toggleFullScreen&#8221;<\/td><\/tr><tr><td><kbd>Ctrl<\/kbd>&#8211;<kbd>Alt<\/kbd>&#8211;<kbd>1<\/kbd><\/td><td><kbd>Cmd<\/kbd>&#8211;<kbd>Alt<\/kbd>&#8211;<kbd>1<\/kbd><\/td><td>&#8220;toggleHeading1&#8221;<\/td><\/tr><tr><td><kbd>Ctrl<\/kbd>&#8211;<kbd>Alt<\/kbd>&#8211;<kbd>2<\/kbd><\/td><td><kbd>Cmd<\/kbd>&#8211;<kbd>Alt<\/kbd>&#8211;<kbd>2<\/kbd><\/td><td>&#8220;toggleHeading2&#8221;<\/td><\/tr><tr><td><kbd>Ctrl<\/kbd>&#8211;<kbd>Alt<\/kbd>&#8211;<kbd>3<\/kbd><\/td><td><kbd>Cmd<\/kbd>&#8211;<kbd>Alt<\/kbd>&#8211;<kbd>3<\/kbd><\/td><td>&#8220;toggleHeading3&#8221;<\/td><\/tr><tr><td><kbd>Ctrl<\/kbd>&#8211;<kbd>Alt<\/kbd>&#8211;<kbd>4<\/kbd><\/td><td><kbd>Cmd<\/kbd>&#8211;<kbd>Alt<\/kbd>&#8211;<kbd>4<\/kbd><\/td><td>&#8220;toggleHeading4&#8221;<\/td><\/tr><tr><td><kbd>Ctrl<\/kbd>&#8211;<kbd>Alt<\/kbd>&#8211;<kbd>5<\/kbd><\/td><td><kbd>Cmd<\/kbd>&#8211;<kbd>Alt<\/kbd>&#8211;<kbd>5<\/kbd><\/td><td>&#8220;toggleHeading5&#8221;<\/td><\/tr><tr><td><kbd>Ctrl<\/kbd>&#8211;<kbd>Alt<\/kbd>&#8211;<kbd>6<\/kbd><\/td><td><kbd>Cmd<\/kbd>&#8211;<kbd>Alt<\/kbd>&#8211;<kbd>6<\/kbd><\/td><td>&#8220;toggleHeading6&#8221;<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Today, after 2 years, I released a new Markdown Editor components for JavaScript and Blazor. The full source code is available on GitHub.<\/p>\n","protected":false},"author":1,"featured_media":28795,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"_has_post_settings":[],"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"Today, after 2 years, I released a new #MarkdownEditor components for #JavaScript and #Blazor. The full source code is available on #GitHub.","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[9868,8559,13,17],"tags":[8558,8560,8561,4997,9007],"hashtags":[],"class_list":["post-60780","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-net8","category-blazor","category-csharp","category-javascript","tag-blazor","tag-blazor-server","tag-blazor-webassembly","tag-javascript","tag-markdown"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>New MarkdownEditor components for JavaScript and Blazor - PureSourceCode<\/title>\n<meta name=\"description\" content=\"Today, after 2 years, I released a new MarkdownEditor components for JavaScript and Blazor. The full source code is available on GitHub.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/puresourcecode.com\/javascript\/new-markdowneditor-components-for-javascript-and-blazor\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"New MarkdownEditor components for JavaScript and Blazor - PureSourceCode\" \/>\n<meta property=\"og:description\" content=\"Today, after 2 years, I released a new MarkdownEditor components for JavaScript and Blazor. The full source code is available on GitHub.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/puresourcecode.com\/javascript\/new-markdowneditor-components-for-javascript-and-blazor\/\" \/>\n<meta property=\"og:site_name\" content=\"PureSourceCode\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/puresourcecode\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/henryLdn\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-01T16:48:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-01T16:48:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/puresourcecode.com\/wp-content\/uploads\/2022\/01\/markdown-editor-blazor-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"800\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Enrico\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@erossiniuk\" \/>\n<meta name=\"twitter:site\" content=\"@puresourcecode\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Enrico\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/javascript\\\/new-markdowneditor-components-for-javascript-and-blazor\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/javascript\\\/new-markdowneditor-components-for-javascript-and-blazor\\\/\"},\"author\":{\"name\":\"Enrico\",\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/#\\\/schema\\\/person\\\/d0ff2e1c52b0d470af84246fd09f1f16\"},\"headline\":\"New MarkdownEditor components for JavaScript and Blazor\",\"datePublished\":\"2024-07-01T16:48:11+00:00\",\"dateModified\":\"2024-07-01T16:48:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/javascript\\\/new-markdowneditor-components-for-javascript-and-blazor\\\/\"},\"wordCount\":2217,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/javascript\\\/new-markdowneditor-components-for-javascript-and-blazor\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/puresourcecode.com\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/markdown-editor-blazor-logo.jpg?fit=1200%2C800&ssl=1\",\"keywords\":[\"blazor\",\"blazor-server\",\"blazor-webassembly\",\"javascript\",\"markdown\"],\"articleSection\":[\".NET8\",\"Blazor\",\"C#\",\"JavaScript\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/puresourcecode.com\\\/javascript\\\/new-markdowneditor-components-for-javascript-and-blazor\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/javascript\\\/new-markdowneditor-components-for-javascript-and-blazor\\\/\",\"url\":\"https:\\\/\\\/puresourcecode.com\\\/javascript\\\/new-markdowneditor-components-for-javascript-and-blazor\\\/\",\"name\":\"New MarkdownEditor components for JavaScript and Blazor - PureSourceCode\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/javascript\\\/new-markdowneditor-components-for-javascript-and-blazor\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/javascript\\\/new-markdowneditor-components-for-javascript-and-blazor\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/puresourcecode.com\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/markdown-editor-blazor-logo.jpg?fit=1200%2C800&ssl=1\",\"datePublished\":\"2024-07-01T16:48:11+00:00\",\"dateModified\":\"2024-07-01T16:48:14+00:00\",\"description\":\"Today, after 2 years, I released a new MarkdownEditor components for JavaScript and Blazor. The full source code is available on GitHub.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/javascript\\\/new-markdowneditor-components-for-javascript-and-blazor\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/puresourcecode.com\\\/javascript\\\/new-markdowneditor-components-for-javascript-and-blazor\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/javascript\\\/new-markdowneditor-components-for-javascript-and-blazor\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/puresourcecode.com\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/markdown-editor-blazor-logo.jpg?fit=1200%2C800&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/puresourcecode.com\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/markdown-editor-blazor-logo.jpg?fit=1200%2C800&ssl=1\",\"width\":1200,\"height\":800,\"caption\":\"markdown editor blazor logo\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/javascript\\\/new-markdowneditor-components-for-javascript-and-blazor\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/puresourcecode.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"New MarkdownEditor components for JavaScript and Blazor\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/#website\",\"url\":\"https:\\\/\\\/puresourcecode.com\\\/\",\"name\":\"PureSourceCode.com\",\"description\":\"All technologies, only pure source code\",\"publisher\":{\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/puresourcecode.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/#organization\",\"name\":\"PureSourceCode\",\"url\":\"https:\\\/\\\/puresourcecode.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/puresourcecode.com\\\/wp-content\\\/uploads\\\/job-manager-uploads\\\/company_logo\\\/2021\\\/05\\\/psc_logo.png?fit=512%2C512&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/puresourcecode.com\\\/wp-content\\\/uploads\\\/job-manager-uploads\\\/company_logo\\\/2021\\\/05\\\/psc_logo.png?fit=512%2C512&ssl=1\",\"width\":512,\"height\":512,\"caption\":\"PureSourceCode\"},\"image\":{\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/puresourcecode\",\"https:\\\/\\\/x.com\\\/puresourcecode\",\"https:\\\/\\\/www.youtube.com\\\/erossini?sub_confirmation=1\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/#\\\/schema\\\/person\\\/d0ff2e1c52b0d470af84246fd09f1f16\",\"name\":\"Enrico\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a41f0bf0ce51e827836b745ab21dabdb477fc4a05f80632fb9a96a76a72d26c1?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a41f0bf0ce51e827836b745ab21dabdb477fc4a05f80632fb9a96a76a72d26c1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a41f0bf0ce51e827836b745ab21dabdb477fc4a05f80632fb9a96a76a72d26c1?s=96&d=mm&r=g\",\"caption\":\"Enrico\"},\"description\":\"My greatest passion is technology. I am interested in multiple fields and I have a lot of experience in software design and development. I started professional development when I was 6 years. Today I am a strong full-stack .NET developer (C#, Xamarin, Azure)\",\"sameAs\":[\"https:\\\/\\\/puresourcecode.com\",\"https:\\\/\\\/www.facebook.com\\\/henryLdn\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rossiniuk\\\/\",\"https:\\\/\\\/x.com\\\/erossiniuk\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UC2jeteqpm3sUDqQpKGqpCLg\",\"https:\\\/\\\/www.tumblr.com\\\/blog\\\/erossiniuk\"],\"url\":\"https:\\\/\\\/puresourcecode.com\\\/author\\\/enrico\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"New MarkdownEditor components for JavaScript and Blazor - PureSourceCode","description":"Today, after 2 years, I released a new MarkdownEditor components for JavaScript and Blazor. The full source code is available on GitHub.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/puresourcecode.com\/javascript\/new-markdowneditor-components-for-javascript-and-blazor\/","og_locale":"en_US","og_type":"article","og_title":"New MarkdownEditor components for JavaScript and Blazor - PureSourceCode","og_description":"Today, after 2 years, I released a new MarkdownEditor components for JavaScript and Blazor. The full source code is available on GitHub.","og_url":"https:\/\/puresourcecode.com\/javascript\/new-markdowneditor-components-for-javascript-and-blazor\/","og_site_name":"PureSourceCode","article_publisher":"https:\/\/www.facebook.com\/puresourcecode","article_author":"https:\/\/www.facebook.com\/henryLdn","article_published_time":"2024-07-01T16:48:11+00:00","article_modified_time":"2024-07-01T16:48:14+00:00","og_image":[{"width":1200,"height":800,"url":"https:\/\/puresourcecode.com\/wp-content\/uploads\/2022\/01\/markdown-editor-blazor-logo.jpg","type":"image\/jpeg"}],"author":"Enrico","twitter_card":"summary_large_image","twitter_creator":"@erossiniuk","twitter_site":"@puresourcecode","twitter_misc":{"Written by":"Enrico","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/puresourcecode.com\/javascript\/new-markdowneditor-components-for-javascript-and-blazor\/#article","isPartOf":{"@id":"https:\/\/puresourcecode.com\/javascript\/new-markdowneditor-components-for-javascript-and-blazor\/"},"author":{"name":"Enrico","@id":"https:\/\/puresourcecode.com\/#\/schema\/person\/d0ff2e1c52b0d470af84246fd09f1f16"},"headline":"New MarkdownEditor components for JavaScript and Blazor","datePublished":"2024-07-01T16:48:11+00:00","dateModified":"2024-07-01T16:48:14+00:00","mainEntityOfPage":{"@id":"https:\/\/puresourcecode.com\/javascript\/new-markdowneditor-components-for-javascript-and-blazor\/"},"wordCount":2217,"commentCount":0,"publisher":{"@id":"https:\/\/puresourcecode.com\/#organization"},"image":{"@id":"https:\/\/puresourcecode.com\/javascript\/new-markdowneditor-components-for-javascript-and-blazor\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2022\/01\/markdown-editor-blazor-logo.jpg?fit=1200%2C800&ssl=1","keywords":["blazor","blazor-server","blazor-webassembly","javascript","markdown"],"articleSection":[".NET8","Blazor","C#","JavaScript"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/puresourcecode.com\/javascript\/new-markdowneditor-components-for-javascript-and-blazor\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/puresourcecode.com\/javascript\/new-markdowneditor-components-for-javascript-and-blazor\/","url":"https:\/\/puresourcecode.com\/javascript\/new-markdowneditor-components-for-javascript-and-blazor\/","name":"New MarkdownEditor components for JavaScript and Blazor - PureSourceCode","isPartOf":{"@id":"https:\/\/puresourcecode.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/puresourcecode.com\/javascript\/new-markdowneditor-components-for-javascript-and-blazor\/#primaryimage"},"image":{"@id":"https:\/\/puresourcecode.com\/javascript\/new-markdowneditor-components-for-javascript-and-blazor\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2022\/01\/markdown-editor-blazor-logo.jpg?fit=1200%2C800&ssl=1","datePublished":"2024-07-01T16:48:11+00:00","dateModified":"2024-07-01T16:48:14+00:00","description":"Today, after 2 years, I released a new MarkdownEditor components for JavaScript and Blazor. The full source code is available on GitHub.","breadcrumb":{"@id":"https:\/\/puresourcecode.com\/javascript\/new-markdowneditor-components-for-javascript-and-blazor\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/puresourcecode.com\/javascript\/new-markdowneditor-components-for-javascript-and-blazor\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/puresourcecode.com\/javascript\/new-markdowneditor-components-for-javascript-and-blazor\/#primaryimage","url":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2022\/01\/markdown-editor-blazor-logo.jpg?fit=1200%2C800&ssl=1","contentUrl":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2022\/01\/markdown-editor-blazor-logo.jpg?fit=1200%2C800&ssl=1","width":1200,"height":800,"caption":"markdown editor blazor logo"},{"@type":"BreadcrumbList","@id":"https:\/\/puresourcecode.com\/javascript\/new-markdowneditor-components-for-javascript-and-blazor\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/puresourcecode.com\/"},{"@type":"ListItem","position":2,"name":"New MarkdownEditor components for JavaScript and Blazor"}]},{"@type":"WebSite","@id":"https:\/\/puresourcecode.com\/#website","url":"https:\/\/puresourcecode.com\/","name":"PureSourceCode.com","description":"All technologies, only pure source code","publisher":{"@id":"https:\/\/puresourcecode.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/puresourcecode.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/puresourcecode.com\/#organization","name":"PureSourceCode","url":"https:\/\/puresourcecode.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/puresourcecode.com\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/job-manager-uploads\/company_logo\/2021\/05\/psc_logo.png?fit=512%2C512&ssl=1","contentUrl":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/job-manager-uploads\/company_logo\/2021\/05\/psc_logo.png?fit=512%2C512&ssl=1","width":512,"height":512,"caption":"PureSourceCode"},"image":{"@id":"https:\/\/puresourcecode.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/puresourcecode","https:\/\/x.com\/puresourcecode","https:\/\/www.youtube.com\/erossini?sub_confirmation=1"]},{"@type":"Person","@id":"https:\/\/puresourcecode.com\/#\/schema\/person\/d0ff2e1c52b0d470af84246fd09f1f16","name":"Enrico","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/a41f0bf0ce51e827836b745ab21dabdb477fc4a05f80632fb9a96a76a72d26c1?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/a41f0bf0ce51e827836b745ab21dabdb477fc4a05f80632fb9a96a76a72d26c1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a41f0bf0ce51e827836b745ab21dabdb477fc4a05f80632fb9a96a76a72d26c1?s=96&d=mm&r=g","caption":"Enrico"},"description":"My greatest passion is technology. I am interested in multiple fields and I have a lot of experience in software design and development. I started professional development when I was 6 years. Today I am a strong full-stack .NET developer (C#, Xamarin, Azure)","sameAs":["https:\/\/puresourcecode.com","https:\/\/www.facebook.com\/henryLdn","https:\/\/www.linkedin.com\/in\/rossiniuk\/","https:\/\/x.com\/erossiniuk","https:\/\/www.youtube.com\/channel\/UC2jeteqpm3sUDqQpKGqpCLg","https:\/\/www.tumblr.com\/blog\/erossiniuk"],"url":"https:\/\/puresourcecode.com\/author\/enrico\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2022\/01\/markdown-editor-blazor-logo.jpg?fit=1200%2C800&ssl=1","jetpack-related-posts":[{"id":28792,"url":"https:\/\/puresourcecode.com\/dotnet\/blazor\/markdown-editor-component-for-blazor\/","url_meta":{"origin":60780,"position":0},"title":"Markdown Editor component for Blazor","author":"Enrico","date":"January 11, 2022","format":false,"excerpt":"I have created a new Markdown Editor component flexible and rich of functionalities for\u00a0Blazor WebAssembly\u00a0and\u00a0Blazor Server\u00a0with .NET6.","rel":"","context":"In &quot;.NET6&quot;","block_context":{"text":".NET6","link":"https:\/\/puresourcecode.com\/category\/dotnet\/net6\/"},"img":{"alt_text":"markdown editor blazor logo","src":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2022\/01\/markdown-editor-blazor-logo.jpg?fit=1200%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2022\/01\/markdown-editor-blazor-logo.jpg?fit=1200%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2022\/01\/markdown-editor-blazor-logo.jpg?fit=1200%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2022\/01\/markdown-editor-blazor-logo.jpg?fit=1200%2C800&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2022\/01\/markdown-editor-blazor-logo.jpg?fit=1200%2C800&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":75256,"url":"https:\/\/puresourcecode.com\/javascript\/markdown-editor-javascript\/","url_meta":{"origin":60780,"position":1},"title":"Markdown Editor: renew an editor for JavaScript","author":"Enrico","date":"April 15, 2026","format":false,"excerpt":"Markdown has become the default for product descriptions, blog posts, issue trackers, wiki pages, in-app notes. Here a JavaScript editor component.","rel":"","context":"In &quot;JavaScript&quot;","block_context":{"text":"JavaScript","link":"https:\/\/puresourcecode.com\/category\/javascript\/"},"img":{"alt_text":"markdown editor blazor logo","src":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2022\/01\/markdown-editor-blazor-logo.jpg?fit=1200%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2022\/01\/markdown-editor-blazor-logo.jpg?fit=1200%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2022\/01\/markdown-editor-blazor-logo.jpg?fit=1200%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2022\/01\/markdown-editor-blazor-logo.jpg?fit=1200%2C800&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2022\/01\/markdown-editor-blazor-logo.jpg?fit=1200%2C800&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":28129,"url":"https:\/\/puresourcecode.com\/dotnet\/blazor\/markdown-editor-with-blazor\/","url_meta":{"origin":60780,"position":2},"title":"Markdown editor with Blazor","author":"Enrico","date":"November 5, 2021","format":false,"excerpt":"In this new post, I will show you have to create a simple Markdown editor component for Blazor Assembly and Blazor Server. Source code inside.","rel":"","context":"In &quot;Blazor&quot;","block_context":{"text":"Blazor","link":"https:\/\/puresourcecode.com\/category\/dotnet\/blazor\/"},"img":{"alt_text":"markdown editor","src":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2021\/11\/markdown-editor-1.jpg?fit=1200%2C700&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2021\/11\/markdown-editor-1.jpg?fit=1200%2C700&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2021\/11\/markdown-editor-1.jpg?fit=1200%2C700&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2021\/11\/markdown-editor-1.jpg?fit=1200%2C700&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2021\/11\/markdown-editor-1.jpg?fit=1200%2C700&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":29156,"url":"https:\/\/puresourcecode.com\/dotnet\/blazor\/dynamically-add-javascript-from-blazor-components\/","url_meta":{"origin":60780,"position":3},"title":"Dynamically add JavaScript from Blazor components","author":"Enrico","date":"January 25, 2022","format":false,"excerpt":"In this new post, I show you the code to dynamically add JavaScript from a Blazor components coming from the component itself or another URL","rel":"","context":"In &quot;Blazor&quot;","block_context":{"text":"Blazor","link":"https:\/\/puresourcecode.com\/category\/dotnet\/blazor\/"},"img":{"alt_text":"Blazor Background","src":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2021\/06\/BlazorBackground-v2-w-scaled.jpg?fit=1200%2C503&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2021\/06\/BlazorBackground-v2-w-scaled.jpg?fit=1200%2C503&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2021\/06\/BlazorBackground-v2-w-scaled.jpg?fit=1200%2C503&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2021\/06\/BlazorBackground-v2-w-scaled.jpg?fit=1200%2C503&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2021\/06\/BlazorBackground-v2-w-scaled.jpg?fit=1200%2C503&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":44071,"url":"https:\/\/puresourcecode.com\/dotnet\/blazor\/custom-javascript-function-in-blazor\/","url_meta":{"origin":60780,"position":4},"title":"Custom JavaScript function in Blazor","author":"Enrico","date":"April 3, 2023","format":false,"excerpt":"In this new post custom JavaScript function in Blazor, I present how to create functions in C# in a Blazor page and integrate them with JavaScript","rel":"","context":"In &quot;Blazor&quot;","block_context":{"text":"Blazor","link":"https:\/\/puresourcecode.com\/category\/dotnet\/blazor\/"},"img":{"alt_text":"Microsoft Blazor wallpaper","src":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2021\/04\/blazor-wallpaper.jpg?fit=1200%2C625&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2021\/04\/blazor-wallpaper.jpg?fit=1200%2C625&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2021\/04\/blazor-wallpaper.jpg?fit=1200%2C625&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2021\/04\/blazor-wallpaper.jpg?fit=1200%2C625&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2021\/04\/blazor-wallpaper.jpg?fit=1200%2C625&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":26404,"url":"https:\/\/puresourcecode.com\/dotnet\/blazor\/write-a-reusable-blazor-component\/","url_meta":{"origin":60780,"position":5},"title":"Write a reusable Blazor component","author":"Enrico","date":"June 10, 2021","format":false,"excerpt":"First part of a Blazor article series to tell how to create a reusable Blazor component that will be used in your Blazor applications","rel":"","context":"In &quot;Blazor&quot;","block_context":{"text":"Blazor","link":"https:\/\/puresourcecode.com\/category\/dotnet\/blazor\/"},"img":{"alt_text":"Blazor Custom Component","src":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2021\/06\/BlazorCustomComponent.gif?fit=1200%2C843&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2021\/06\/BlazorCustomComponent.gif?fit=1200%2C843&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2021\/06\/BlazorCustomComponent.gif?fit=1200%2C843&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2021\/06\/BlazorCustomComponent.gif?fit=1200%2C843&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2021\/06\/BlazorCustomComponent.gif?fit=1200%2C843&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"jetpack_shortlink":"https:\/\/wp.me\/pbPHZq-fOk","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/puresourcecode.com\/wp-json\/wp\/v2\/posts\/60780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/puresourcecode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/puresourcecode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/puresourcecode.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/puresourcecode.com\/wp-json\/wp\/v2\/comments?post=60780"}],"version-history":[{"count":1,"href":"https:\/\/puresourcecode.com\/wp-json\/wp\/v2\/posts\/60780\/revisions"}],"predecessor-version":[{"id":60782,"href":"https:\/\/puresourcecode.com\/wp-json\/wp\/v2\/posts\/60780\/revisions\/60782"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/puresourcecode.com\/wp-json\/wp\/v2\/media\/28795"}],"wp:attachment":[{"href":"https:\/\/puresourcecode.com\/wp-json\/wp\/v2\/media?parent=60780"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/puresourcecode.com\/wp-json\/wp\/v2\/categories?post=60780"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/puresourcecode.com\/wp-json\/wp\/v2\/tags?post=60780"},{"taxonomy":"hashtags","embeddable":true,"href":"https:\/\/puresourcecode.com\/wp-json\/wp\/v2\/hashtags?post=60780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}