सही ढंग से अंकन कई नीडिंत सूचियों के भीतर एक ही सूची आइटम

0

सवाल

में एक GitHub .md फ़ाइल, मैं कोशिश कर रहा हूँ करने के लिए लिखने के बराबर:

<ul>
  <li>This is a list item</li>
  
  <li>This is also a list item
  
    <ul>
      <li>...containing a sublist</li>
      <li>with two items.</li>
    </ul>
    
    and then...
    
    <ul>
      <li>another sublist</li>
      <li>which also has two items</li>
    </ul>
  </li>
  
  <li>This is a third list item</li>
</ul>

मैंने कोशिश की है कई रूपों पर:

 - This is a list item
 - This is also a list item
   - ...containing a sublist
   - with two items.
 
   and then...
 
   - another sublist
   - which also has two items
  - This is a third list item

लेकिन मैं अभी तक नहीं पाया करने के लिए कैसे सफलतापूर्वक घोंसला कई अलग unordered सूची के भीतर एक एकल unordered सूची आइटम.

कैसे चाहिए मैं रेखा को चिह्नित and then... इतना है कि यह (और हर पंक्ति के बाद) में सही ढंग से renders GitHub-फ्लेवर्ड markdown?

1

सबसे अच्छा जवाब

-1

आप उपयोग कर सकते हैं नकली बुलेट सूचियों के लिए इस लक्ष्य को हासिल । आप का निर्माण कर सकते हैं उन्हें का उपयोग कर गैर-तोड़कर रिक्त स्थान है और एक ⦁ (Z अंकन स्थान) चरित्र है ।

 - This is a list item
 - This is also a list item&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;⦁&nbsp;&nbsp;...containing a sublist&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;⦁&nbsp;&nbsp;with two items.
 
   and then...
 
&nbsp;&nbsp;&nbsp;⦁&nbsp;&nbsp;another sublist&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;⦁&nbsp;&nbsp;which also has two items
 - This is a third list item

परिणाम:

  • यह एक सूची आइटम

  • यह भी एक सूची आइटम
    ⦁ ...युक्त एक sublist
    ⦁ के साथ दो आइटम.

    और फिर...

    ⦁ एक sublist
    ⦁ जो भी दो आइटम

  • यह एक तीसरी सूची आइटम

2021-11-23 21:10:43

धन्यवाद, @TamásSengel - बहुत बहुत सराहना की है ।
Rounin

अन्य भाषाओं में

यह पृष्ठ अन्य भाषाओं में है

Русский
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................

इस श्रेणी में लोकप्रिय

लोकप्रिय सवाल इस श्रेणी में