e22m4u 1 год назад
Родитель
Сommit
856e7ea108
2 измененных файлов с 8 добавлено и 8 удалено
  1. 4 4
      README-ru.md
  2. 4 4
      README.md

+ 4 - 4
README-ru.md

@@ -100,7 +100,7 @@ const {format} = require('@e22m4u/js-format');
 | `%v`      | см. ниже                                     |
 | `%v`      | см. ниже                                     |
 | `%l`      | см. ниже                                     |
 | `%l`      | см. ниже                                     |
 
 
-### %v
+#### %v
 
 
 Строки оборачиваются в кавычки, остальные примитивы приводятся
 Строки оборачиваются в кавычки, остальные примитивы приводятся
 к строке, а для более сложных типов выводится имя конструктора.
 к строке, а для более сложных типов выводится имя конструктора.
@@ -136,7 +136,7 @@ format('It is %v', MyClass);       // It is MyClass
 format('It is %v', new MyClass()); // It is MyClass (instance)
 format('It is %v', new MyClass()); // It is MyClass (instance)
 ```
 ```
 
 
-### %l
+#### %l
 
 
 Вывод элементов массива через запятую.
 Вывод элементов массива через запятую.
 
 
@@ -147,9 +147,9 @@ format('An array of %l', ['foo', 10, true]);
 
 
 Элементы массива приводятся к строке по логике спецификатора `%v`
 Элементы массива приводятся к строке по логике спецификатора `%v`
 
 
-## Errorf
+## `Errorf` class
 
 
-Конструктор класса `Errorf` передает аргументы функции `format`
+Конструктор класса передает аргументы функции `format`
 для формирования сообщения об ошибке.
 для формирования сообщения об ошибке.
 
 
 Пример:
 Пример:

+ 4 - 4
README.md

@@ -100,7 +100,7 @@ argument.
 | `%v`      | see below                                |
 | `%v`      | see below                                |
 | `%l`      | see below                                |
 | `%l`      | see below                                |
 
 
-### %v
+#### %v
 
 
 Strings are wrapped in quotes, other primitives are converted
 Strings are wrapped in quotes, other primitives are converted
 to strings, and for more complex types the constructor name
 to strings, and for more complex types the constructor name
@@ -137,7 +137,7 @@ format('It is %v', MyClass);       // It is MyClass
 format('It is %v', new MyClass()); // It is MyClass (instance)
 format('It is %v', new MyClass()); // It is MyClass (instance)
 ```
 ```
 
 
-### %l
+#### %l
 
 
 Outputs array elements separated by commas.
 Outputs array elements separated by commas.
 
 
@@ -149,9 +149,9 @@ format('An array of %l', ['foo', 10, true]);
 Array elements are converted to strings following the logic
 Array elements are converted to strings following the logic
 of the `%v` specifier.
 of the `%v` specifier.
 
 
-## Errorf
+## `Errorf` class
 
 
-The `Errorf` class constructor passes arguments to the format function
+The class constructor passes arguments to the format function
 to form an error message.
 to form an error message.
 
 
 Example:
 Example: