Code Monkey home page Code Monkey logo

Comments (3)

danny0838 avatar danny0838 commented on May 30, 2024

感謝您的鼓勵,當初就是看上 ScrapBook 有撰寫及組織筆記的潛力才開發這些功能的^^

關於 HTML 編輯模式的操作,由於 ScrapBook 已經有太多工具按鈕,為了避免混亂因此採用快捷鍵的方式實做,有考慮加上自訂按鍵的功能或寫個專門的編輯工具列,只是設計上頗複雜,因此遲遲沒有進展。您提供的 Page Hacker Revived 是很有趣的附加元件,有空會參考看看。

關於 ScrapBook 的筆記功能,原作者 Gomita 的設計其實可以使用 HTML,文本欄輸入原始碼,HTML 預覽時便能看到效果。這樣的設計不只您感到奇怪,在下也百思不解,但聯絡不上原作者也只能私下猜測,個人以為其定位是側欄下方方便對照著看的小便籤,一般模式是為了方便編輯,HTML 預覽則是為了列印得精美一點。按此說來,將它改為只能顯示純文本應較為合理,況且 HTML 內容已可用筆記頁面取代。話雖如此,但顧及向下相容,一直沒有實施,或許要等 ScrapBook X 2.0 並設計好轉檔功能才會做吧。

至於 Markdown 應該是不會做,因個人認為 WYSIWYG 遠比 Markdown 更適合做筆記,存檔的可攜性也好得多,Markdown 語法解析器寫起來相當複雜,且一但支援 Markdown 未來可能又有人要求支援 reStructuredText、MediaWiki 等各種語法,個人不希望造成滾雪球式的功能氾濫,希望您能理解。(如有興趣不妨寫個支援 Markdown 的擴展 Addon,個人樂觀其成)

from firefox-scrapbook.

bamanzi avatar bamanzi commented on May 30, 2024

好吧,这个需求的确有点比较小众了。因为现在很多网站都支持markdown,我又不太愿意安装外部markdown编辑器。

我有空自己来折腾一下试试。有少许的xul extension开发经验,不过不知道是否够使。

其实Markdown parser & converter 这里有: https://github.com/evilstreak/markdown-js

from firefox-scrapbook.

bamanzi avatar bamanzi commented on May 30, 2024

另外,Edit and Note这个扩展也提供html编辑能力,跟Page Hacker Revived有些互补(比如表格,TOC以及sticky note)

from firefox-scrapbook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.