{"id":15546783,"url":"https://github.com/wang125309/zjsmarkdowneditor","last_synced_at":"2026-02-12T23:03:36.205Z","repository":{"id":44741231,"uuid":"111887206","full_name":"wang125309/ZjsMarkdownEditor","owner":"wang125309","description":"ZjsMarkdownEditor","archived":false,"fork":false,"pushed_at":"2022-12-04T16:02:58.000Z","size":513,"stargazers_count":1,"open_issues_count":9,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T19:46:13.713Z","etag":null,"topics":["jquery","markdown","markdown-editor"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wang125309.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-24T07:07:19.000Z","updated_at":"2019-10-15T07:18:45.000Z","dependencies_parsed_at":"2023-01-23T01:16:14.565Z","dependency_job_id":null,"html_url":"https://github.com/wang125309/ZjsMarkdownEditor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wang125309/ZjsMarkdownEditor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang125309%2FZjsMarkdownEditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang125309%2FZjsMarkdownEditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang125309%2FZjsMarkdownEditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang125309%2FZjsMarkdownEditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wang125309","download_url":"https://codeload.github.com/wang125309/ZjsMarkdownEditor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang125309%2FZjsMarkdownEditor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274046000,"owners_count":25212982,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jquery","markdown","markdown-editor"],"created_at":"2024-10-02T13:04:43.800Z","updated_at":"2026-02-12T23:03:36.175Z","avatar_url":"https://github.com/wang125309.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Usages\n===\n\n    var editor = new MarkdownEditor({\n        'width': '100%',\n        'height': '100%',\n        'selector': 'body',\n        'callback': function() {\n            alert('Markdown editor')\n        }\n    }).init();\n\nYou can install this module use npm\n\n    npm install zjs_markdown_editor\n\nSelector may be jQuery selectors\n\nTexts would auto save in your localStorage\n\nYou can get markdown text from localStorage or call the function\n    \n    editor.getMarkDownText()\n\nclear localStorage\n    \n    editor.clearStorage()\n\nImage Upload\n\nYou can upload your own image to your service.\n\nInit your options like\n    \n    var editor = new MarkdownEditor({\n        'width': '100%',\n        'height': '100%',\n        'selector': 'body',\n        'upload_url': '/upload/' //upload url\n        'upload_result_data': 'url', //result data like {url:xxxx}\n        'upload_name': 'pic', // Form input name\n        'callback': function() {\n        }\n    }).init();\n\nDepends on jQuery, jquery.caret.js, showdown\n\nLive Demo : [https://wang125309.github.io/zjsmarkdowneditor.github.io/][1]\n\n  [1]: https://wang125309.github.io/zjsmarkdowneditor.github.io/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwang125309%2Fzjsmarkdowneditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwang125309%2Fzjsmarkdowneditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwang125309%2Fzjsmarkdowneditor/lists"}