2017-09-14 96 views
0

當我編寫下面的代碼時,我可以在HackMD中看到縮進。但是我在GitHub中看不到相同的效果。我能做些什麼來解決它?markdown indentation(github)

<style> 
 
    p { 
 
    font-size: 16px; 
 
    text-indent: 2em; 
 
    } 
 
</style>

回答

0

請這個嘗試,它將工作。爲您的代碼塊使用```

``` 
<style> 
    p { 
    font-size: 16px; 
    text-indent: 2em; 
    } 
</style> 
``` 
+0

我試過了,但它只是標記代碼。代碼的背景變成灰色。 – Karen