Browse Source

Restore default notation for attributes in element.

It should be `{. xxxx=yyy }`, not `{_ xxxx=yyy }`.
Only test/test-element-attributes-markdown.html were using `{_`,
simply in order to test the ability, for the user, to define a _different_ pattern.
VonC 11 years ago
parent
commit
198821f52b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -65,8 +65,8 @@ Special syntax is available for adding attributes to Markdown elements. This is
 ```html
 <section data-markdown>
 	<script type="text/template">
-		- Item 1 {_class="fragment" data-fragment-index="2"}
-		- Item 2 {_class="fragment" data-fragment-index="1"}
+		- Item 1 {.class="fragment" data-fragment-index="2"}
+		- Item 2 {.class="fragment" data-fragment-index="1"}
 	</script>
 </section>
 ```