zoukankan      html  css  js  c++  java
  • csdn里面代码块颜色

    这里是没有颜色的:

    /**
     * Created by 东东 on 2018/10/28.
     *
     * @Description 发送邮件部分接口
     */
    public interface MailService {
    
        /**
         * @Description //TODO 发送简单的文本文件,to:收件人 subject:主题 content:内容
         * @Param [to, subject, content]
         **/
        public void sendSimpleMail(String to, String subject, String content);
    
        /**
         * @Description //TODO 发送html,to:收件人 subject:主题 content:内容
         * @Param [to, subject, content]
         **/
        public void sendHtmlMail(String to, String subject, String content);
    
        /**
         * @param to
         * @param subject
         * @param content
         * @param filePath
         * @throws MessagingException
         * @Description //TODO 发送一个带附件的邮件,to:收件人,subject:主题,content:主题,filePath:附件的路径
         */
        public void sendAttachmentMail(String to, String subject, String content, String filePath);
        
        public void sendInlineResourceMail(String to, String subject, String content, String rscPath);
    }
    

    这是有颜色的:

    /**
     * Created by 东东 on 2018/10/28.
     *
     * @Description 发送邮件部分接口
     */
    public interface MailService {
    
        /**
         * @Description //TODO 发送简单的文本文件,to:收件人 subject:主题 content:内容
         * @Param [to, subject, content]
         **/
        public void sendSimpleMail(String to, String subject, String content);
    
        /**
         * @Description //TODO 发送html,to:收件人 subject:主题 content:内容
         * @Param [to, subject, content]
         **/
        public void sendHtmlMail(String to, String subject, String content);
    
        /**
         * @param to
         * @param subject
         * @param content
         * @param filePath
         * @throws MessagingException
         * @Description //TODO 发送一个带附件的邮件,to:收件人,subject:主题,content:主题,filePath:附件的路径
         */
        public void sendAttachmentMail(String to, String subject, String content, String filePath);
        
        public void sendInlineResourceMail(String to, String subject, String content, String rscPath);
    }
    

    markdown好像只要在代码块的第一个```后面加上对应的语言,我这是java,代码块就有颜色啦…其他语言应该也是这样的.我就不举例了,希望帮到大家.最后代码块的格式,是在csdn里面博客设置里面进行设置的,我也不截图了.大家找找就知道了.


    这里揭晓原因:
    在这里插入图片描述

    在这里插入图片描述

    世界上所有的不公平都是由于当事人能力不足造成的.
  • 相关阅读:
    使用 C# 2008 Express Edition 编写的猜数字游戏
    话说三层
    在asp.net 1.1 中使用Ajax
    vs2005 调试时出现“无法附加。绑定句柄无效”的解决办法
    解决“你可能没有权限使用网络资源”的问题
    html&js 在firefox与IE中呈现存在差异的解决方法总结
    sql 事务 全攻略
    mssql的TSQL教程(从建登陆到建库、表和约束)(1)
    数据库练习题
    用批处理附加数据库
  • 原文地址:https://www.cnblogs.com/javayida/p/13347105.html
Copyright © 2011-2022 走看看