[Help] I want to bring collapsible tree of text to native note types

hi,

i use mindmanager, so my notes are in tree form.
currently i really cant figure out how to show in anki if NOT use a custom note type that enable mindmaps (but i didn’t use that)

i figure out i may use HTML’s summary/details tag.

so, suppose my text is:

3-surgery
1st line !!!
TRNAS SPHENOIDAL SURGERY!
→ hypo Pit
trans sphenoidal hypophysectomy
if failed
comp
hypo pituitarism
finally in 10% of the patients
CSF leak
permanent DI
stroke

i can have it transform into HTML:

<details>
 <summary>
  3-surgery
 </summary>
 <ul>
  <details>
   <summary>
    1st line !!!
   </summary>
   <ul>
    <details>
     <summary>
      TRNAS SPHENOIDAL SURGERY!
     </summary>
     <ul>
      <details>
       <summary>
        -&gt; hypo Pit
       </summary>
       <ul>
        <li>
         trans sphenoidal hypophysectomy
        </li>
       </ul>
      </details>
     </ul>
    </details>
    <li>
     if failed
    </li>
    <details>
     <summary>
      comp
     </summary>
     <ul>
      <details>
       <summary>
        hypo pituitarism
       </summary>
       <ul>
        <li>
         finally in 10% of the patients
        </li>
       </ul>
      </details>
      <li>
       CSF leak
      </li>
      <li>
       permanent DI
      </li>
      <li>
       stroke
      </li>
     </ul>
    </details>
   </ul>
  </details>
 </ul>
</details>

which is supported in native anki note types Basic, Cloze.

On screen:
image

however, the above code you see, the HTML coding got some large triangle which shifted the place.
make it NOT PERFECT.

help appreciated, thanks.

ps: this mindmanager graph seems more easy to see:
the TRANS, if failed, Comp should be at the same indentation, but the large triangle shifted it.

tried a lot of time, even with AI, no hope.
human help appreciated.

thanks

image

image

Not sure why the triangle is wrong place at first,
but can force to shift left/right.

now the places are correct, and are collapsiable.
now i could just copy my mindmanager’s mindmap’s text,
paste into anki and open in ankiroid.

compare to #1
image

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.