Git Product home page Git Product logo

dw-plugin-commentsyntax's People

Contributors

e-dschungel avatar ssahara avatar

Watchers

 avatar  avatar

Forkers

e-dschungel

dw-plugin-commentsyntax's Issues

C言語スタイルコメントのみの行と、xbrプラグインとの適合性について (about compatibility with xbr plugin)

xbrプラグインとこのプラグインを同時に適用すると、改行が余計に挿入される事があります。

こちらのページでは、ページ冒頭にコメントのみの行を挿入しているのですが、どうやら、コメントを閉じた後の改行が無視されず出力されているようです(コメントのみの行については、行ごと無視される〈改行も出力しない〉のが望ましい)。
もしお手間でなければ対応頂けますでしょうか。よろしくお願いします。
(本当は「こうしたら上手く行きますよ」ってプルリクエストを送信したかったけど、手元では上手く行かなかったのでこの形でご勘弁下さい)

Interference with standard syntax since Greebo update

Since DW and all plugins have been updated to current versions, I've found that the Comment Syntax Plugin interferes with standard DW syntax.

I have a text where I wanted to quote a whole paragraph in italics, like

//Some text in italics.
Should be just one paragraph.//

This should be normal text.

This worked fine before, as I expected, i.e. the whole text between the leading and ending '//' was displayed using italic font.

However, since the update to Greebo the first line after // is treated as comment, obviously until the end of the line, which matches the docs of the plugin.
Hence, the second line is displayed as normal text, and due to the '//' at the end of the second line all subsequent text is displayed with italic font.

The fix is to enclose each line of the 'italics' paragraph in '//' pairs, as in

//Some text in italics.//
//Should be just one paragraph.//

This should be normal text.

In the DW forum I got an advice to open a bug here:
https://forum.dokuwiki.org/thread/15965

However, I'm not sure what should be the expected behavior. From the plugin's point of view the new behavior sounds reasonable, but if it is then maybe there should be a note in the plugin's docs that this may interfere with the notation for italics font.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.