올바르게 마킹 여러 중첩 목록에서 동일한 목록 항목

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

하지만 나는 아직 발견되지 않은 방법이 성공적으로 둥지 여러 별도의 순서 없는 목록에서 하나의 순서 없는 목록 항목입니다.

어떻게 표시 라인 and then... 그래서 그것은(인 후)가 올바르게 렌더링에서 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

결과:

  • 이것은 목록이 항목

  • 이는 또한 목록 항목
    ⦁...포함된 하위
    ⦁두 개의 항목입니다.

    그리고...

    ⦁또는 하위
    ⦁또한 두 항목

  • 이것은 세 번째 목록 항목

2021-11-23 21:10:43

감사,@TamásSengel-매우 감사합니다.
Rounin

다른 언어로

이 페이지는 다른 언어로되어 있습니다

Русский
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................