美文网首页
简书上粘贴代码块

简书上粘贴代码块

作者: coder1003 | 来源:发表于2018-07-07 17:44 被阅读0次

    简书上粘贴代码块

    1、将编辑器设置成markdown格式,并保存

    C61092CF-ADED-4136-97CB-D95B5A31D92A.png

    2、新建文章,进入到预览模式

    AB35DE86-7508-407C-B84F-70BBD1F3A592.png

    3、现在就完成了插入代码


    24FE05FD-32D9-4B47-A4E4-5F002FE09B5C.png
    
    #import <UIKit/UIKit.h>
    
    typedef void(^SFMileageViewBlock)(NSDictionary *);
    
    @interface SFMileageView : UIView
    
    @property (nonatomic, copy) NSString *title;
    
    @property (nonatomic, copy) SFMileageViewBlock mileageViewBlock;
    
    - (instancetype)initWithFrame:(CGRect)frame type:(NSInteger )type mileageViewBlock:(SFMileageViewBlock)block;
    
    - (void)titleLabelChangeFontWithIndex:(CGFloat)index;
    
    @end
    

    相关文章

      网友评论

          本文标题:简书上粘贴代码块

          本文链接:https://www.haomeiwen.com/subject/vprguftx.html