Jump to content
  • 0

Add the ability to have a code block inside a list that's inside a list. A list at a second or more level


abdu

Idea

I can create a list and have one item as a code block by adding a list under the code block and starting the list from any number.

However I can't do the same for a list inside another list. A second level list uses lower case case letter. I can't have a code block in there and continue the list with the next letter.

Please add the ability to add a code block (to other types) inside a sublist.

Link to comment

3 replies to this idea

Recommended Posts

  • 0
13 minutes ago, PinkElephant said:

Code blocks are an independent HTML object.

They can't be embedded.

If they can be embedded in a first level list, they should be able to be able to be embedded in a second, third, .. level list.
I feel you just came up with this speculation.

Link to comment
  • 0
  • Level 5

Code blocks are not embedded into lists at all. As you can see (if you look closely) the code block extends to the left edge of the note area, it's not indented at all. I don't know why you assume they would be on a 1st level indentation when clearly they are not.

The code block completely interrupts the list, it start again after the CB with count <1>. I placed the red box around the CB to make it easier to see until where it extends.

image.png.6eb954b4c45e7721af08f33e55406411.png

Hint: I don't need to speculate about what I can see. If you want to see more, you can enable the developer tools, and check the code yourself.

image.png.930c1de8b5f7bcdcdf59e2340fb389b7.png

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...