Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Tekken Code Image

omowneomowne60 downloads

Convert Tekken fighting game notation DSL into SVG images.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates8

Convert Japanese Tekken fighting game command notation into SVG images in Obsidian.

  • Web version
  • 日本語

Installation

Obsidian Plugin

  1. In Obsidian, open Settings → Community plugins.
  2. Select Browse, search for Tekken Code Image, then select Install.
  3. Enable the plugin.

Web (Browser)

  1. Run npm run build:web to generate dist-web/index.html.
  2. Open the generated dist-web/index.html in a browser (or deploy it to a static hosting service of your choice).

The web version allows you to test the command syntax—which is identical to that of the Obsidian plugin—directly in your browser. Settings are saved to the localStorage key tekken-code-image-settings.

Usage

Create a tekken code block and enter a command using numeric directions and attack buttons.

```tekken
6n23RP
```

The plugin renders the command as an SVG image. Open Settings → Community plugins → Tekken Code Image to adjust shape size, spacing, text styles, and attack button colors.

Development

Prerequisites

  • Node.js (ES2020 対応)
  • npm

Setup

npm install

Build

コマンド 出力 用途
npm run build dist/main.js + dist/manifest.json Obsidian プラグイン本番ビルド
npm run build:web dist-web/index.html(インライン化) Web ブラウザ向け単一 HTML ビルド
npm run build:all 上記両方 両ターゲット一括

Develop (watch)

コマンド 用途
npm run dev デフォルト(--target 不指定)。watch モードで起動
npm run dev:obsidian Obsidian ターゲットのみ watch
npm run dev:web Web ターゲットのみ watch。web/main.js を生成し、web/index.html から参照

Test

コマンド 用途
npm run test Vitest スイートを実行
npm run test:watch Vitest を watch モードで起動
npm run test:render Playwright による描画テストを実行
npm run typecheck tsc --noEmit による型チェック

Project Layout

  • src/core/ — 共通ロジック(parser, svg, settings, types)
  • src/entries/obsidian/ — Obsidian プラグインエントリ
  • src/entries/web/ — Web ブラウザエントリと共通 API (integrate.ts)
  • web/index.html — Web 版 UI の HTML(dev 時に参照)
  • test/ — Vitest と Playwright テスト

詳細は SPEC.md の「ディレクトリ構造」「エントリの責務分離」を参照。

日本語

概要

Obsidian のプラグインで、格闘ゲームの鉄拳におけるコマンドをSVG画像へと変換します。

対応しているコマンドは、主に日本で使われるテンキー形式です。例えば風神拳なら 6n23RP といった表記です。

markdown 上の ```tekken コードブロックにコマンドを記述することで、該当コードブロック上にSVG画像が生成されます。

Web版もあります。

記述ルール

方向、および、ボタン表記は画像のとおりです。

dir-button

サポートしている記法:

  • 方向
    • 数字(1, 2, 3, 4, 6, 7, 8, 9)
    • n または N - ニュートラル
  • 攻撃ボタン
    • LP - 左パンチ
    • RP - 右パンチ
    • WP - 左右パンチ同時押し
    • LK - 左キック
    • RK - 右キック
    • WK - 左右キック同時押し
  • スライド(攻撃ボタンを素早く順に押す)
    • [ 攻撃ボタン ]
      • なお、スライドとしての WP WK は記述不可
    • 例: [ LK RP ]
  • 攻撃ボタンの同時押し
    • + を攻撃ボタンの間に記述
    • 例: LP + RK
  • セパレーター
    • >
  • 任意のテキスト
    • ダブルクォート記号 " で囲う。ただし、テキストとして " 記号を含めることは出来ない。
    • 例1: "Counter Hit"
    • 例2: "日本語も可能"
  • スペース、カンマ
    • 効果は何もなく、単純に無視されます。
    • 例: LP, RP, LK と LP RP LK と LPRPLK は同じ意味

記述例

アリサの基本コンボ

```tekken
3RP > 4LP > "ws" LPRP > 9LP > 66 > 9LP
```

複数行のコードブロックを使うと、改行位置で図形が次の行へ送られます。連続する改行は1つにまとめられ、行送りの量は shapeSize + padding です。

```tekken
3RP > 4LP > "ws" LPRP > 9LP > 66 >
9LP
```

制限事項

  1. 現状、斜め方向(1, 3, 7, 9)の矢印図形は、他の矢印図形よりパディング(左右の隙間)が多いように見えます。バウンディングボックスを得るAPIによる都合です。
  2. 本編ゲーム中にあるようなパワークラッシュなどのアイコンには、現状は非対応です。代替として任意テキストを用いてください。
  3. コマンドの最大長は200文字としています。おそらく十分だとは思いますが、不都合があれば Issues から報告お願いします。

ライセンス

MIT ライセンス

HealthExcellent
ReviewCaution
About
Convert Tekken numeric keypad commands (e.g. 6n23RP) written in a ```tekken code block into inline SVG images. Support standard directions (1–9, n/N), attack buttons (LP/RP/LK/RK/WP/WK), slides [button], simultaneous presses with +, and quoted annotations for text.
ImagesMarkdown
Details
Current version
1.1.4
Last updated
3 weeks ago
Created
2 months ago
Updates
8 releases
Downloads
60
Compatible with
Obsidian 1.4.4+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
omowneomowneosatetsu
GitHubosatetsu
  1. Community
  2. Plugins
  3. Images
  4. Tekken Code Image

Related plugins

Image Captions

Add captions to images with inline Markdown and link support. The caption format is compatible with the Commonmark spec and other Markdown applications.

Linter

Format and style your notes. Linter can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular Markdown contents like list, italics, and bold styles; and more with the use of custom rule options.

Custom Frames

Turn web apps into panes using iframes with custom styling. Also comes with presets for Google Keep, Todoist and more.

Consistent Attachments and Links

Move note attachments and update links automatically.

Ink

Handwriting and drawing directly between paragraphs using a digital pen, stylus, or Apple pencil.

Outliner

Work with your lists like in Workflowy or Roam Research.

Flashcards

Anki integration.

Various Complements

Complete words similar to auto-completion in an IDE.

Typewriter Mode

Typewriter scroll, writing focus, current line highlight, paragraph dimming, and more!

TTRPG Tools - Maps

A toolbox for interactive fantasy maps.