Newline in lists

By gerdami gerdami

Description

  1. this is the first line and I would like a line break here exactly after the word 'break'
  2. then I would like the next item in the list

Code

# this is the first line and I would like a line break _
exactly after the word 'break'
# then I would like the next item in the list

(the underscore)

One small note for everyone out there... make sure you do not put any whitespace after the underscore or it will not work. ubivis 31 Oct 2006, 16:12 +0100

In action

  1. this is the first line and I would like a line break
    exactly after the word 'break'
  2. then I would like the next item in the list

Thanks to tsangk for this great snippet: conditional-blocks


text above inserted with:

[[include :snippets:if START |unique=1|type=equal|var1=%%name%%|var2=conditional-blocks]]
**##red|Thanks to tsangk for this great snippet:##** [[[code:conditional-blocks]]]
[[include :snippets:if END]]



Other snippets posted by gerdami

Previous Next - 16 Feb 2012 01:32


Rate this solution

If you think this solution is useful — rate it up!

rating: +21
DukeChristiAN DukeChristiAN 11 May 2020 16:14

不起作用啊

Last edited on 11 May 2020 16:16 by DukeChristiAN
by DukeChristiAN DukeChristiAN , 11 May 2020 16:14
Not working.
JM Beaubourg JM Beaubourg 22 Aug 2008 14:26

It isn't working. At all.

In any list you'll need it quite often.

Please find a solution soon.

by JM Beaubourg JM Beaubourg , 22 Aug 2008 14:26
Aidan Aidan 12 Mar 2008 05:54

This doesn't work anymore. Is there any other option for adding a line break / page break?

I've got a floated element, and I need the next section/heading to start all the way on the left, not to the right of the float. Using "~~~~" puts miles of space, and truly, all I need is ONE extra blank line.


The World is full of People, most of them Other-Than-Human.

by Aidan Aidan , 12 Mar 2008 05:54
i hope you will enjoy
Shalom_Don Shalom_Don 02 Dec 2007 20:09

You need this one:

_ (a withespcae after your underline)

for further informations look here:
http://snippets.wikidot.com/code:newline

by Shalom_Don Shalom_Don , 02 Dec 2007 20:09
page break? Line break?
nih nih 30 Aug 2007 06:01

Is there any way to initiate a page break or line break? I mean I'm trying to achive the same results given in a html page when <br> or <p> is put into the code. Any idea?

by nih nih , 30 Aug 2007 06:01
page revision: 3, last edited: 16 Feb 2012 01:26
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License
Click here to edit contents of this page.
Click here to toggle editing of individual sections of the page (if possible). Watch headings for an "edit" link when available.
Append content without editing the whole page source.
Check out how this page has evolved in the past.
If you want to discuss contents of this page - this is the easiest way to do it.
View and manage file attachments for this page.
A few useful tools to manage this Site.
Change the name (also URL address, possibly the category) of the page.
View wiki source for this page without editing.
View/set parent page (used for creating breadcrumbs and structured layout).

AltStyle によって変換されたページ (->オリジナル) /