Skip to content

npmrun/online-editor

Repository files navigation

在线编辑器

该存储库目前的作用就是帮我在博客中嵌入代码编辑器,以下是几个示例:

  1. flems:

https://editor.xieyaxin.top/#eNqLrlbKS8xNVbJS0ssoyc1R0lFKzs8rSc0rAYo8ndr1YsKKF/v2QUilWh2E4pJiFKUocsXJxaiyCkq1sQCJyCbr

  1. vue3 sfc

https://editor.xieyaxin.top/?vue#eNqNUUtOwzAQvYrlTUEisRCsqlAVUBewAAQsvSnJtHWJP7InbaUoF2DPEbkHE6eUUD5C8sLz3nzezKv5uXPpqgI+5FnIvXLIAmDlRtIo7axHVjMPM9awmbeaDSh1II00uTUBmQ5zdtbyB4O31xd6g0NpMtE1ohYUIGhXThEoYixbHI/qOpY1TSYoiqgyrkK2SrQtoDyTnHjJicrErpof8U5PoqcuXQZrSHHdVsstESQfsoi0GOlsY8kXiC4MhcgLQ2XUX618agCFcVqMKU34yqDSkBRWj0/Sk/RUFCpgH04h6OTJ23UAT00kP+qNEQSuwCceTAEe/H/H7pX1R+9R38a30xtpGjoKBnJipuZ7J8mtdqoEf+tQkVNfTjMtS7u+jhj6Cna75AvIn3/Al2HT7XTnISrr7Y9TPwfs6MnDDWzovyPJzqrc2vALeQ/BllWrsUu7qExBsnt5Ue1VdFiZ+WOYbBBM+FiqFRqvEfOjH5d/rP4pl669u2LzDnC4BjM=

  1. sandpack-vue3 react-js

https://editor.xieyaxin.top/?sand-react-js#eNqFU+9r2zAQ/Vc0fUogtpsPheI6hW3tYLCx0XUfBmagyJf4Vlky8jk/GvK/72Q7rdOxLRAs6b27e/d0Osikob2BJtZNI9OD1K4AmcqlK/bikFshVs5StFIVmn0qGmWbqAGPq+uARVtYPiLDgdNUzlGJdp0K1ZLrCZV7+g/qmt0fjLVX+0YrAx3tr/EEO4o82IIFBcDVhBU+wSdY4xIN0v51PAebLec+U0+qjkpcl4b/FGlnnE8FeW61Vpydzsmu1WXE2oxrKRXW2SDymNvclvORYw3rSMU8vvRQBYI8zmTytq7jX2ObYVc7T6KAlWoNiVVrNaGzgomTaZ/NA7Xeiqyc3yiVJfzpynX5kFvfnWfEqst4D0rTTBzEN/Ko6TOD4ihW3lUilz6AuWRZA/sgNJ8R3LNHr2hR4apEG2QfxhG5jEeD0yHPGIs/pYhDywOqnW1I+FBiMao3KZxuK04fr4HuDITlu/3HYsICGM7ldMrhYRn3Vz0JrmQvfbEfgn9ZKJt0myw5Q6fXnVl1uzSoB89KqszItezN7Zf3Dz++3okAcEwWvsIou17kEmwu+8QlqOJUrwJSQpfKN0BM+v7wIboaeCfUqgoY2iBsgzO5FGwCcYN8uMWCykUBG9QQdZuZQIuEykTd7C/m8cVLPkIycHM7eJUl/b7v9llVFp7tKaLAjcCCK/U23mQJnwwRA49DQ7u9PUo/qjXwNDk7cqabwVwWUAfzrUbg20770QzAMEspL3/Or+KLoHl2BoYJ+jeh0R5r6vIy6bLnBMqxI+ayUshXENDnkR+SBGWb29fi+H3wgzv+BvfspAE=

以上几个的hash都是不通用的,切换时先清空hash

TODO

  • bytemd

https://github.com/zh-lx/codeplayer

About

在线Demo编辑器,支持原生js,es,vue3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published