Skip to content

EnJoeToh/screenplay_formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

screenplay_formatter

なんとなくマークアップされたテキストデータ(.txt, .docx)をシナリオっぽく整形します。

Demo

こういうかんじのものを、 0

こういうかんじのものへ。 1

Requirement

  • python3
  • python-docx

python-docx

pip install python-docx

Usage

  • マークアップしたテキスト filename.txt を用意。
  • screenplay_formatter と同じフォルダに配置。
  • コマンドラインから、
python screenplay_formatter filename.txt

  を実行。

  • filename_formatted.html と filename_formatted.docx が同フォルダに生成される。

マークアップ

☆タイトル
★サブタイトル
■柱
@ト書き
人物名「セリフ」
#注記
→右寄せメモ
など

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages