2016-05-21 13 views
5

Satır içi bir açıklama içeren bir öz oluşturmaya çalışıyorum. Kendi satırına bir yorum koymaya yarayan bir çözüm (here) okudum (resimde gösterildiği gibi); Ancak, satır içi yorumlar için işe yaramıyor. Github aromalı işaretlemede satır içi yorumlar elde etmek için herhangi bir yolu var mı? enter image description hereGithub Flavored Markdown'da satır içi yorumlara nasıl eklerim?

- [x] some item 
- [ ] another item with meta info [//]: # (attempt at meta info as inline comment) 


[//]: # (This may be the most platform independent comment) 
[//]: # (https://stackoverflow.com/questions/4823468/comments-in-markdown) 
+1

[Bu cevap] (http://stackoverflow.com/a/29724376/274466) (üçlü tire dikkat edin) bağlı bir yol sunar ... – ig0774

cevap

6

satır içi yorumlar için this solution olası bir geçici çözüm daha yakından bakarak:

- [x] some item 
- [ ] another item with meta info [//]: # (attempt at meta info as inline comment) 
- [ ] using @ig0774's recomendation [](with an inline comment hidden inside an empty link) 

[//]: # (This may be the most platform independent comment) 
[//]: # (https://stackoverflow.com/questions/4823468/comments-in-markdown) 
[](and another comment down here too using the empty link method) 

enter image description here

2

Ayrıca sadece

<!--- Comments are Fun ---> 

hatırla Bu, markdown olduğunu yapabilirim sadece bir easi HTML içeriği yazmanın yolu.

  • bazı öğe soruya bir satır içi yorum ile
  • Something
+0

Bu çok katlı yorumlar için işe yarar mı? –

+0

Yep @Steven Vascellaro –

İlgili konular