another way to do this: [[!format]]
parent
205ac1ec79
commit
3602eea8c2
|
@ -26,3 +26,26 @@ As in title, how to align text to the right?
|
|||
>> .align_right { display: block ; text-align: right ; }
|
||||
|
||||
> you may also like to remove the padding and margins since they will be provided by the enclosing block. -- fergus
|
||||
|
||||
<div class="notebox">
|
||||
[[!format mdwn """
|
||||
This is my text with [a markdown link](#).
|
||||
|
||||
Here's a *second* paragraph.
|
||||
"""]]
|
||||
</div>
|
||||
|
||||
>> There is more than one way to do it. If [[plugins/format]] is enabled, then this:
|
||||
>>
|
||||
>> <div class="notebox">
|
||||
>> \[[!format mdwn """
|
||||
>> This is my text with [a markdown link](#).
|
||||
>>
|
||||
>> Here's a *second* paragraph.
|
||||
>> """]]
|
||||
>> </div>
|
||||
>>
|
||||
>> is rendered like the box in this page.
|
||||
>>
|
||||
>> (I'm using the `notebox` class used by the `note` template here, but you could
|
||||
>> use any class.) --[[smcv]]
|
||||
|
|
Loading…
Reference in New Issue