【问题标题】:How to make code greyed-out in comments如何让代码在评论中变灰
【发布时间】:2017-10-22 07:09:51
【问题描述】:

我知道这可能已经在 markdown 帮助中得到解答,但我的英语不是很好。

如何使代码变灰,以便区分 cmets 中的文本和代码?

例如:

SELECT customers.first_name, customers.last_name, 
COUNT(*) 'Anzahl Aufträge'
FROM customers
JOIN orders ON customers.id = orders.customer_id
GROUP BY customers.id, customers.first_name, customers.last_name

【问题讨论】:

    标签: text editor editing


    【解决方案1】:

    要使您的代码变灰,您需要单击{} 符号并粘贴您的代码

    SELECT customers.first_name, customers.last_name, COUNT(*) 'Anzahl Aufträge' FROM customers JOIN orders ON customers.id = orders.customer_id GROUP BY customers.id, customers.first_name, customers.last_name"
    

    【讨论】:

    • 非常感谢。而对于 cmets,它将是“代码”,然后您将代码粘贴到那里?
    • 是的,确实Code 需要` `
    猜你喜欢
    • 2019-11-09
    • 1970-01-01
    • 2011-07-24
    • 2011-02-09
    • 1970-01-01
    • 2011-06-09
    • 2014-02-06
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多