タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

JavaScriptとarticleとeditorに関するefclのブックマーク (4)

  • CodeMirror v6によるZennのMarkdownエディタの作り方

    Zennでは、「記事」や「のチャプター」のMarkdownエディタのベースにCodeMirrorというライブラリを使っています。これまではCodeMirrorのv5を使っていた(正確にはv5に依存するラッパーライブラリを使っていた)のですが、古いバージョンを使い続けるリスク解消と更なるエディタの拡張性を得るため、CodeMirrorのv6にアップグレードすることにしました。 記事では、CodeMirror v6の基的な知識部分から、ZennMarkdownエディタを実装するまでのカスタマイズ方法を紹介します。 CodeMirrorの基礎知識 はじめに CodeMirrorはWeb上にコードエディタを実装するためのライブラリです。標準で多くのプログラミング言語に対応したシンタックスハイライトや入力補完、折りたたみ、キーマップ、マルチカーソルなど、モダンなコードエディタに必要な機能を備

    CodeMirror v6によるZennのMarkdownエディタの作り方
    efcl
    efcl 2024/02/02
    CodeMirrot v6でのMarkdownエディタの実装方法について
  • Meta の新しいリッチテキストエディターフレームワーク Lexical を調べる(実践編)

    Lexical で簡単なリッチテキストエディターを作ってみよう Lexical は Meta が開発したリッチテキストエディターフレームワークです。以前 Lexical のアーキテクチャを調べてまとめた記事を執筆したので、概要や設計についてはそちらをご覧ください。 Lexical のコアライブラリは EditorState の差分から最も効率のいい方法で DOM を更新する Reconciler がメインで、エディターの機能やビューはプラグインという形で各々実装する必要があります。 ただ、コアライブラリだけ提供しても使う側が戸惑ってしまうので、すでに多くの公式プラグインが同じリポジトリで提供されています。 そして注目すべきは Playground の充実度です。 もはや Playground をそのまま使っても十分なほど多機能なエディターが実装されています。もちろんソースコードは同じリポジ

    Meta の新しいリッチテキストエディターフレームワーク Lexical を調べる(実践編)
    efcl
    efcl 2022/08/08
    Lexicalを使ってリッチエディタを作る話
  • Replit — Comparing Code Editors: Ace, CodeMirror and Monaco

    EngInfraAce, CodeMirror, and Monaco: A Comparison of the Code Editors You Use in the Browser I’ve been working on Replit for roughly six years now, and as the team has grown, I’ve focused on the IDE (what we call the workspace) portion of the product. Naturally, I was increasingly preoccupied with the code editor. While we’ve considered creating a code editor that meets our needs, the complexity i

    Replit — Comparing Code Editors: Ace, CodeMirror and Monaco
    efcl
    efcl 2022/01/17
    JavaScriptで書かれたコードエディタライブラリであるAce、Monaco、CodeMirror 6を比較した記事
  • Kite is saying farewell - Code Faster with Kite

    “These markets are so large and they’re growing so fast, we’re actually seeing brand effects take place. And we haven’t seen that since the internet. And by brand effects, I mean if you become the household name, you will get the adoption.” – Martin Casado, a16z, source From 2014 to 2021, Kite was a startup using AI to help developers write code. We have stopped working on Kite, and are no longer

    Kite is saying farewell - Code Faster with Kite
    efcl
    efcl 2020/05/16
    機械学習ベースのコード補完ツールであるKiteがJavaScriptの補完に対応したという話
  • 1