For the project Wi-Fi Reflow Oven, a list inside another list was necessary to describe all the steps for Setting up the Freescale software development tools.
Embedded lists template
- level 1.a
- level 1.b
- level 2.a
- level 2.b
- level 3.a
- level 3.b
- level 4.a
- level 4.b
- level 5.a
- level 5.b
How you can do it
- right click on the list and choose Inspect element
- in the element's HTML code window, identify where your list start.
The list is delimited by the "ul" tag.
Each item in your list is delimited by "li" tags.
A list should look like this
<ul> <li>level 1.a</li> <li>level 1.b</li> <li>level 2.a</li> <li>level 2.b</li> <li>level 3.a</li> <li>level 3.b</li> <li>level 4.a</li> <li>level 4.b</li> <li>level 5.a</li> <li>lrvrl 5.b</li> </ul>
Modify the code to look like this
<ul> <li>level 1.a</li> <li>level 1.b <ul> <li>level 2.a</li> <li>level 2.b <ul> <li>level 3.a</li> <li>level 3.b <ul> <li>level 4.a</li> <li>level 4.b <ul> <li>level 5.a</li> <li>level 5.b</li> </ul> </li> </ul> </li> </ul> </li> </ul> </li> </ul>
Or, you can copy/paste a template
Most of the time, the HaD Editor will try to keep the formatting when doing a copy/paste from another page. That is why you can simply copy paste a list from another webpage into your project log, then modify it as you wish.
Alternately, you can
- create a .htm text file with the HTML code for your ideal list, then
- run the HTML code by opening the .htm file with an Internet browser, then
- copy/paste from there to your new log entry.
Or, you can simply press TAB, as [Matt] pointed out
This log entry is a perfect example of how Retardo DaVinci was I.
Just press TAB, and you will have a nested list.
Thanks [Matt], for bringing me back to Planet Earth!
:o)
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.
Not too sure if this works on every browser, but in Chrome, to achieve the same thing, I hit tab in the editor when in the list and it indented my list item in one. See here for an example:
https://hackaday.io/project/4731/log/20964
Are you sure? yes | no
I will try it, thanks for the tip!
Are you sure? yes | no