Kenshi Muto
Kenshi Muto
htmlutils.rb#highlightでunescape_htmlでバラしているため、 `@{}` などを使うと<b>などになってしまって、とてもまずい。
compiler.rbのcompile_dlistが単純に後続行を使うロジックなので、コメント行を除外するようにする必要がある?
(TODOとして) tableタグは桁数の揃っている単純な縦横表のみを想定している。 既存の表現方法とは別に、sphinxのテーブル実装にあるような、セル接続表現は実現可能か。
When long table cell crosses over pages and footnote exists on next page, vivliostyle.js (master, 4c2a3d83e92ea5bd1c18c457ac79b3c191685230) hangs up. test.html ``` 1 2 3 4 5 6 7 8 9 10...
### Describe the problem `TTY::File::CompareFiles#call` seems read a file by chunk of block size. When there is a multibyte character (CJK character, emoji, etc) crosses between blocks, the character will...
### Describe the problem If there is a difference after the block size (4096 on my Linux filesystem), it will be ignored. ### Steps to reproduce the problem I created...
2015… http://d.hatena.ne.jp/littlebuddha/20150629/1435556074 > md2review 実行時に invalid byte sequence in Windows-31J にエラーが出る。 > 原因はシステムの文字コードと md2review の使用文字コードが異なるため。 > なので、md2review に直接文字コードを明示した。 ``` # 下記の1行を追加。 Encoding.default_external = 'utf-8' require 'rubygems' ```
現在のbin/md2reviewコードではoffset値は0、1、2しか取れず、「#の多いレベルを少ないレベルに変換」(項を節に格上げするなど)する方向しかできないようになっています。 ``` if arg =~ /^--render-header-offset\s*=\s*([012])$/ ``` 実際に受け取る原稿では逆に、「節分割したmdで、節題が#から始まり、章題はREADME.mdの目次のほうを見よ」という書き方をしているケースが非常に多く見られます。offset値にマイナスをとれれば、-1のように入れればこれに対応できます。 ``` if arg =~ /^--render-header-offset\s*=\s*(-?[012])$/ ``` とかでしょうか。
lintを使ったときのbox情報まわりは生データのpt値を出しているようですが、 併記してmm単位であるとか、各ボックスの隅の座標でなく矩形のサイズも表示されると便利そうに思いました(さらに欲を言うとA5,B5などの定型正寸であればその表示も)。