Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re^5: Embedding pod in other languages

by John M. Dlugosz (Monsignor)
on May 19, 2011 at 21:48 UTC ( #905816=note: print w/replies, xml ) Need Help??

in reply to Re^4: Embedding pod in other languages
in thread Embedding pod in other languages

How does having the desired indent of the code fall after =v make that issue go away? It might look lined up under the current circumstances but will be all jumbled for someone else.

I suppose you are saying that your way will at least ascribe all the lines to a verbatim paragraph, even though they may be indented wrong in the final presentation, as preferable to not identifying them properly at all.

OK, how about after the =code initiates things, it will take all lines until another directive or zero-leading whitespace. It won't worry if the indention matches the initial line, but will clamp at zero after it removes the expected amount.

Replies are listed 'Best First'.
Re^6: Embedding pod in other languages
by jpl (Monk) on May 19, 2011 at 22:29 UTC
    =v doesn't make the issue go away, it just means you explicitly acknowledged the context. That is not likely to happen by accident. I'm sometimes careless about whitespace. Witness my typo (that you caught) in the original code.
      How about allowing both mechanism to exist at the same time? Then I can type =code and someone else can use =v, even in the same file, whichever is easier in the circumstance and given the editor features.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://905816]
[james28909]: /msg username message did it
[LanX]: James not /msg [beech] but /msg beech
[james28909]: i havent used the /msg [username] message</c> format
[LanX]: you can also click on beech and message him. ..
[james28909]: jebus
[LanX]: sorry again not [msg://beech]

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2017-05-24 22:55 GMT
Find Nodes?
    Voting Booth?