Query Loop on Menu

Hi!

I have an off-canvas menu on my site. First, I have a regular menu on my site. Now, I want to add another menu where a query loop is required. I want to show a few random projects on the menu. Query Block doesn’t offer the option to change the HTML tag. And there is an unwanted DIV inside it that I don’t want it to have.

I wish I could do something like this for my menu.

<ul>
<li><a href="dynamic link">Project 1(CPT)</a></li>
<li><a href="dynamic link">Project 2(CPT)</a></li>
<li><a href="dynamic link">Project 3(CPT)</a></li>
<li><a href="dynamic link">Project 4(CPT)</a></li>
<li><a href="dynamic link">Project 5(CPT)</a></li>
</ul>

*All the <li> are query loop items

Maybe I will need to wait till the day the query and repeater blocks get improved later?
Or am I forgetting something?