You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2020/04/27 08:14:43 UTC

[royale-docs] branch master updated: fix syntax highlight for MXML and comments

This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-docs.git


The following commit(s) were added to refs/heads/master by this push:
     new d8c0e8c  fix syntax highlight for MXML and comments
d8c0e8c is described below

commit d8c0e8c07994091d719dd20a572d2613f84594cb
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Mon Apr 27 10:14:31 2020 +0200

    fix syntax highlight for MXML and comments
---
 features/mxml.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/features/mxml.md b/features/mxml.md
index ecaa000..c2adfb7 100644
--- a/features/mxml.md
+++ b/features/mxml.md
@@ -28,10 +28,10 @@ MXML is an XML-based language introduced in 2004 by Macromedia. In Royale you us
 
 Most Royale applications have an MXML file as the main file. It provides the structure of the application. The main MXML file from our very simple <a href="https://apache.github.io/royale-docs/get-started/hello-world" target="_blank">hello world example</a> looks a bit like this:
 
-```
+```mxml
 <?xml version="1.0" encoding="utf-8"?>
 
-</-- 
+<!-- 
    A comments field that could include a copyright statement, license notice, author notice, 
    a statement of the purpose of the file, and 
    other information useful for future file maintenance.
@@ -50,10 +50,10 @@ Most Royale applications have an MXML file as the main file. It provides the str
 
 You also build components that you might incorporate into an application using an MXML file. A component with a card layout to display a set of clickable buttons might look like this:
 
-```
+```mxml
 <?xml version="1.0" encoding="utf-8"?>
 
-</-- 
+<!-- 
    A comments field that could include a copyright statement, license notice, author notice, 
    a statement of the purpose of the file, and 
    other information useful for future file maintenance.