You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2018/08/15 13:35:40 UTC

[sling-whiteboard] branch master updated: fix code block

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

bdelacretaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git


The following commit(s) were added to refs/heads/master by this push:
     new e43f34a  fix code block
e43f34a is described below

commit e43f34a4f729b0fb0debb55f214fdf092370a03c
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Wed Aug 15 15:35:39 2018 +0200

    fix code block
---
 resource-schemas/README.md | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/resource-schemas/README.md b/resource-schemas/README.md
index 64ba9c5..9a1bdc9 100644
--- a/resource-schemas/README.md
+++ b/resource-schemas/README.md
@@ -11,12 +11,12 @@ To test the demo schemas, which allow for managing a very basic blog with folder
 this bundle on Sling, create a resource with the `srs/demo/root`
 resource type and navigate to it with the `.srs.html` selector and extension:
 
-  $ curl -u admin:admin -F sling:resourceType=srs/demo/root http://localhost:8080/test
-  $ curl -u admin:admin http://localhost:8080/test.srs.html
+    $ curl -u admin:admin -F sling:resourceType=srs/demo/root http://localhost:8080/test
+    $ curl -u admin:admin http://localhost:8080/test.srs.html
   
-  <html><body><div class='srs-page'>
-  <h1>Sling Resource Schemas: generated edit forms<br/>for /test</h1><hr/>
-  ....
+    <html><body><div class='srs-page'>
+    <h1>Sling Resource Schemas: generated edit forms<br/>for /test</h1><hr/>
+    ....
 
 This module generates a basic HTML UI that allows you to navigate, create and edit resources
 based on the Resource Schemas.
@@ -25,4 +25,4 @@ That interface is meant to be usable by machine clients as well, but that hasn't
 Using standard hypermedia formats like Siren or HAL might be an option.
 
 For now, the Resource Schemas are hardcoded in the `DemoSchemas` class. They should later be read from
-structured text files provided as OSGi bundle resources or in the Sling content repository.
\ No newline at end of file
+structured text files provided as OSGi bundle resources or in the Sling content repository.