You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by IT CTO <go...@gmail.com> on 2015/10/22 16:31:08 UTC

Documentation problem - bug?

Hi,
I noticed that the documentation generator we use is removing some of the
code
see the notebookashomepage.md
the code section looks like this (NOTE the bold line):

<br />
Add the following code to a paragraph in you home page and run it...
walla! you have your notebooks list.

```javascript
println(
"""%angular
  <div class="col-md-4" ng-controller="HomeCtrl as home">
    <h4>Notebooks</h4>
    <div>
      <h5><a href="" data-toggle="modal" data-target="#noteNameModal"
style="text-decoration: none;">
        <i style="font-size: 15px;" class="icon-notebook"></i> Create
new note</a></h5>
        <ul style="list-style-type: none;">
          <li ng-repeat="note in home.notes.list track by $index"><i
style="font-size: 10px;" class="icon-doc"></i>
            *<a style="text-decoration: none;"
href="#/notebook/{{note.id <http://note.id>}}">{{note.name
<http://note.name> || 'Note ' + note.id <http://note.id>}}</a>*
          </li>
        </ul>
    </div>
  </div>
""")
```

but the output is:

println(
  """%angular     <div class="col-md-4" ng-controller="HomeCtrl as
home">      <h4>Notebooks</h4>      <div>        <h5><a href=""
data-toggle="modal" data-target="#noteNameModal"
style="text-decoration: none;">          <i style="font-size: 15px;"
class="icon-notebook"></i> Create new note</a></h5>          <ul
style="list-style-type: none;">            <li ng-repeat="note in
home.notes.list track by $index"><i style="font-size: 10px;"
class="icon-doc"></i>              *<a style="**text-decoration:
none;" href="#/notebook/""""""></a>*
            </li>
          </ul>
      </div>
    </div>
  """)

The *{{note.id <http://note.id>}}">{{note.name <http://note.name> || 'Note
' + note.id <http://note.id>}} Are missing!!*

Why?

-- 
Eran | "You don't need eyes to see, you need vision" (Faithless)