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里面博客设置里面进行设置的,我也不截图了.大家找找就知道了.


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

    在这里插入图片描述

    世界上所有的不公平都是由于当事人能力不足造成的.
  • 相关阅读:
    Hpuoj1039--【C语言训练】角谷猜想
    hpuoj--1093: 回文数(一)
    Zoj1628--Diamond(Dfs《暴力》)
    Poj1995--Raising Modulo Numbers(快速幂)
    杭电5137--How Many Maos Does the Guanxi Worth(Spfa+暴力枚举)
    杭电1166--敌兵布阵(线段树 | 树状数组)

    南阳5--Binary String Matching(Kmp)
    CGAL
    vs c++默认路径
  • 原文地址:https://www.cnblogs.com/javayida/p/13347105.html
Copyright © 2011-2022 走看看