neo1949
neo1949
Hi, I cannot find a way to add header and footer in generated pdf. I find you have ever commented [here](https://github.com/BlueHatbRit/mdpdf/issues/73#issuecomment-599156185), so I searched the puppeteer issues. According to [Possibility...
Hi @BlueHatbRit, sorry for the late reply. I modified the source of the below file and finally got the header and footer. > ~/.atom/packages/markdown-pdf/node_modules/mdpdf/src/puppeteer-helper.js The change was like this: ```js...
参考 [issues 28](https://github.com/belerweb/pinyin4j/issues/28) 提到的 [汉语拼音正词法基本规则](https://github.com/Haixing-Hu/typesetting-standard/blob/master/%E6%95%B0%E5%AD%97%E6%96%87%E5%AD%97/%E3%80%90GB:T%2016159-2012%E3%80%91%E6%B1%89%E8%AF%AD%E6%8B%BC%E9%9F%B3%E6%AD%A3%E8%AF%8D%E6%B3%95%E5%9F%BA%E6%9C%AC%E8%A7%84%E5%88%99.pdf),实际上返回值是正确的,读一下这个基本规则应该就能理解了。
> > 参考 [issues 28](https://github.com/belerweb/pinyin4j/issues/28) 提到的 [汉语拼音正词法基本规则](https://github.com/Haixing-Hu/typesetting-standard/blob/master/%E6%95%B0%E5%AD%97%E6%96%87%E5%AD%97/%E3%80%90GB:T%2016159-2012%E3%80%91%E6%B1%89%E8%AF%AD%E6%8B%BC%E9%9F%B3%E6%AD%A3%E8%AF%8D%E6%B3%95%E5%9F%BA%E6%9C%AC%E8%A7%84%E5%88%99.pdf),实际上返回值是正确的,读一下这个基本规则应该就能理解了。 > > 那可不是这个问题,这个bug我已经修复了(你可以试试任意的句子,都可以正常分割的):https://github.com/wnjustdoit/pinyin4j/blob/master/src/test/java/net/sourceforge/pinyin4j/test/NewPinyinHelperTest.java 用的你库试了一下,确实没有出现最后两个中文字符中间未拼接分隔符的现象。