Add handling of NOTE -'s.

This commit is contained in:
kor 2018-10-30 03:17:10 +13:00
parent 233a24b317
commit 9140181553
2 changed files with 10 additions and 9 deletions

View File

@ -3483,10 +3483,10 @@ CELTIC NZ
LEY-LINES LEY-LINES
TERM TERM
> Feng-Shui > Feng-Shui
> Chinese art/science meaning 'wind and water', 'that which cannot be seen and cannot be grasped'. > Chinese art/science meaning 'wind and water', 'that which cannot be seen and cannot be grasped'.
& "Recognized that certain powerful currents and lines of magnetism run invisible through the landscape over the whole surface of the Earth. The task of the geomancer was to detect these currents and interpret their influences on the land through which they passed." & "Recognized that certain powerful currents and lines of magnetism run invisible through the landscape over the whole surface of the Earth. The task of the geomancer was to detect these currents and interpret their influences on the land through which they passed."
& "It was the aim of the geomancer to place every structure precisely within the landscape in accordance with a magic system by which the laws of music and mathematics were expressed in the geometry of the earth's surface. The landscape itself may be manipulated in order to achieve the harmony sought through the placement or adjustment, or removal, of trees or rocks, or bodies of water. Every feature of the landscape may be contrived to produce an effect which ultimately is perceived as beautiful; indeed, perceived beauty in a landscape may in fact be simply when the lines of the dragon current are in balance. & "It was the aim of the geomancer to place every structure precisely within the landscape in accordance with a magic system by which the laws of music and mathematics were expressed in the geometry of the earth's surface. The landscape itself may be manipulated in order to achieve the harmony sought through the placement or adjustment, or removal, of trees or rocks, or bodies of water. Every feature of the landscape may be contrived to produce an effect which ultimately is perceived as beautiful; indeed, perceived beauty in a landscape may in fact be simply when the lines of the dragon current are in balance.
& At the outset, a geomancer must locate the course of the major lines of the dragon current in his or her area. These days, it is claimed that such energy lines can be detected, and traced, through dowsing." & At the outset, a geomancer must locate the course of the major lines of the dragon current in his or her area. These days, it is claimed that such energy lines can be detected, and traced, through dowsing."
> Lung-Mei: Chinese Feng-Shui lines of magnetic force meaning 'dragon current'. "...existed in two forms: the yin, or negative, current represented by the white tiger, and the yang, or positive, current, represented by the blue dragon. The landscape will display both yin and yang features; gently undulating country is yin, or female, while sharp rocks and steep mountains are yang, or male." > Lung-Mei: Chinese Feng-Shui lines of magnetic force meaning 'dragon current'. "...existed in two forms: the yin, or negative, current represented by the white tiger, and the yang, or positive, current, represented by the blue dragon. The landscape will display both yin and yang features; gently undulating country is yin, or female, while sharp rocks and steep mountains are yang, or male."
> Luopan: A Feng-Shui circular magnetic compass. "which was marked off in rings containing data relating to astrology, directions, the elements, landscape forms, times of day, and so on." > Luopan: A Feng-Shui circular magnetic compass. "which was marked off in rings containing data relating to astrology, directions, the elements, landscape forms, times of day, and so on."
> Ley Line: 're-dicovered' on 30th June 1921 by Alfred Watkins (1855-1935) > Ley Line: 're-dicovered' on 30th June 1921 by Alfred Watkins (1855-1935)

View File

@ -531,11 +531,7 @@ function View()
{ {
for (var i in data) for (var i in data)
{ {
if (data[i] == "& ") if (data[i].substring(0, 2) == "> ")
{
// blank line, do nothing
}
else if (data[i].substring(0, 2) == "> ")
{ {
// New item // New item
if (data[i].includes(": ")) if (data[i].includes(": "))
@ -557,6 +553,11 @@ function View()
// New line in current item // New line in current item
result += `<div class="${className}">${data[i].substring(2)}</div>`; result += `<div class="${className}">${data[i].substring(2)}</div>`;
} }
else if (data[i].substring(0, 2) == "- ")
{
// Bullet point
result += `<div class="${className}"><i class="fas fa-caret-right textIcon"></i>${data[i].substring(2)}</div>`;
}
else else
{ {
// Handle unformatted // Handle unformatted