Browse Source

updated readme

ibireme 9 years ago
parent
commit
a72146021b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -856,7 +856,7 @@ YYText 和 TextKit 架构对比
 ### 文本解析
 ### 文本解析
 	// 1. 创建一个解析器
 	// 1. 创建一个解析器
 	
 	
-	// 内置简单的 markdown 解析
+	// 内置简单的表情解析
     YYTextSimpleEmoticonParser *parser = [YYTextSimpleEmoticonParser new];
     YYTextSimpleEmoticonParser *parser = [YYTextSimpleEmoticonParser new];
     NSMutableDictionary *mapper = [NSMutableDictionary new];
     NSMutableDictionary *mapper = [NSMutableDictionary new];
     mapper[@":smile:"] = [UIImage imageNamed:@"smile.png"];
     mapper[@":smile:"] = [UIImage imageNamed:@"smile.png"];
@@ -865,7 +865,7 @@ YYText 和 TextKit 架构对比
     mapper[@":wink:"] = [UIImage imageNamed:@"wink.png"];
     mapper[@":wink:"] = [UIImage imageNamed:@"wink.png"];
     parser.emoticonMapper = mapper;
     parser.emoticonMapper = mapper;
 	
 	
-	// 内置简单的表情解析
+	// 内置简单的 markdown 解析
 	YYTextSimpleMarkdownParser *parser = [YYTextSimpleMarkdownParser new];
 	YYTextSimpleMarkdownParser *parser = [YYTextSimpleMarkdownParser new];
     [parser setColorWithDarkTheme];
     [parser setColorWithDarkTheme];