Skip to content
This repository was archived by the owner on Feb 25, 2023. It is now read-only.

Fix Previous PRs Messages #8

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 79 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
root = true


## PML Sources
##############
[*.pml]
charset = utf-8
end_of_line = unset
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true


## Repository Configurations
############################
[.{git*,editorconfig}]
indent_style = space
indent_size = unset
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[.gitmodules]
indent_style = tab

[.gitkeep]
insert_final_newline = false


## Shell Scripts
################
[*.sh]
end_of_line = lf
indent_style = tab
indent_size = unset
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true


## Batch Scripts
################
[*.{bat,cmd}]
indent_style = tab
indent_size = unset
end_of_line = crlf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true


## Markdown GFM
###############
[*.md]
indent_style = space
indent_size = unset
end_of_line = unset
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

## Plain-Text Files
###################
[*.txt]
indent_style = space
indent_size = unset
end_of_line = unset
trim_trailing_whitespace = true
insert_final_newline = true

[{LICENSE,README}]
indent_size = unset
indent_style = space
end_of_line = unset
trim_trailing_whitespace = true
insert_final_newline = true

23 changes: 23 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
* text=auto

## Repository Configuration
###########################
.editorconfig text eol=lf
.travis.yml text eol=lf
.gitattributes text eol=lf
.gitconfig text eol=lf
.gitignore text eol=lf
.gitmodules text eol=lf

## Documentation Files
######################
*.md text
*.pml text linguist-language=PML
*.txt text
LICENSE text

## Scripts
##########
*.bat text eol=crlf
*.com text eol=crlf
*.sh text eol=lf
38 changes: 38 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,41 @@

# Directories and files starting with NOGIT_
**/NOGIT_*

############################
## COMMON IGNORE PATTERNS ##
############################

## Apps Local Settings & Temp Files
###################################

# Chrome's debug logs for local HTML pages:
debug.log

# Links and URLs:
*.lnk
*.url

## Linux
########
*~
.directory
.fuse_hidden*
.nfs*
.Trash-*

## macOS
########
*.DS_Store
._*
.AppleDouble
.LSOverride
Icon

## Windows
##########
Thumbs.db
ehthumbs.db
ehthumbs_vista.db
Desktop.ini
.BIN/
28 changes: 20 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,29 @@
# PML Changelog

This repository contains the PML markup code used to create the [PML Changelog](https://www.pml-lang.dev/docs/changelog/index.html).
This repository contains the PML markup code used to create the [PML Changelog].

## Create an HTML Version

You can create an HTML version of the changelog like this:
- If not done already, [install](https://www.pml-lang.dev/downloads/install.html) the _PML Campanion_
- Create a local copy of this repository
- Open a terminal in the root directory of your local repository
To build an HTML version of the Changelog from this source repository:

- If you haven't already done so, [install the _PML Companion_].
- Create a local copy of this repository.
- Open a terminal in the root directory of your local repository.
- Execute the following OS command:

`pmlc p2h input/text/index.pml`

pmlc p2h input/text/index.pml


## More Info

For more information about PML please visit its [website](https://www.pml-lang.dev).
For more information about PML, please visit the [PML website].

<!-----------------------------------------------------------------------------
REFERENCE LINKS
------------------------------------------------------------------------------>

[PML website]: https://www.pml-lang.dev "Visit the PML website"
[PML Changelog]: https://www.pml-lang.dev/docs/changelog/index.html "View the online PML Changelog"
[install the _PML Companion_]: https://www.pml-lang.dev/downloads/install.html "Go to PMLC download page"

<!-- EOF -->
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0.0
2 changes: 1 addition & 1 deletion input/text/index.pml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
[u:ins_file path=version_1.3.0_2021-03-09.pml]
[u:ins_file path=version_1.2.0_2021-02-10.pml]
[u:ins_file path=version_1.1.0_2021-01-14.pml]
]
]
6 changes: 3 additions & 3 deletions input/text/version_1.1.0_2021-01-14.pml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
]
[el
[c table]: A table layout composed of rows and columns.

Besides just text, each cell in the table can have complex content, including nested tables. Conceptually similar to a HTML table.
]
[el
Expand All @@ -35,12 +35,12 @@
]

[ch [title New Command Line Arguments]

Added command line arguments [c HTML_header] and [c HTML_footer] to the [i PML to HTML Converter]. Allows you to:
[list
[el Provide a custom HTML header/footer for each document, or generate only the HTML body code (no header/footer).]
[el Customize the style of the resulting HTML by providing your specific CSS file(s), in addition to PML's default CSS file, or as a replacement.]
]
]
]
]
]
6 changes: 3 additions & 3 deletions input/text/version_1.3.0_2021-03-09.pml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
The tag's open/close symbols have changed from [c {}] to [c \[\]]

Example:

Old version: [c {i great}]

New version: [c \[i great\]]
Expand Down Expand Up @@ -42,7 +42,7 @@
Attribute [c TOC_title] has been added to node [c document]

It defines the title displayed for the table of contents.

The default value is "Table of Contents".
]

Expand All @@ -60,7 +60,7 @@
[list
[el
The Javascript code for expanding/collapsing the table of contents has been removed.

The HTML [c <details>] tag is used instead.
]

Expand Down
4 changes: 2 additions & 2 deletions input/text/version_1.4.0_2021-04-16.pml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
]

[ch [title Bug Fixes]

The table of contents is now displayed correctly on devices with small screens.
]
]
]
14 changes: 7 additions & 7 deletions input/text/version_2.0.0_2021-09-03.pml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
For all other nodes, the new [c header] node (see below) should be used instead of the old [c title] attribute.

Example:

Old code:
[code
[el (title = "List element header")
Expand Down Expand Up @@ -84,7 +84,7 @@
Attribute values that contain spaces must be enclosed in quotes.

Example: [c() path = "name with spaces.png"]

For more information please refer to the [link url=https://www.pml-lang.dev/docs/user_manual/index.html#lenient_parsing text="user manual"].
]
]
Expand Down Expand Up @@ -123,7 +123,7 @@
[code
[!ins-file path=sub-chapter.pml]
code]

For more information please refer to the [link url=https://www.pml-lang.dev/docs/user_manual/index.html#file_splitting text="user manual"]

[note
Expand All @@ -143,9 +143,9 @@
[list
[el
New parameter [c open_file_cmd] for command [c convert].

This argument enables you to automatically open an editor for the first file in which an error was detected.

For more information, type the following command in a terminal, and look for parameter [c open_file_cmd]:
[input
pmlc command_info -command convert
Expand All @@ -161,7 +161,7 @@
[list
[el
[c title]: A title for a chapter (can include markup, included in the table of contents)

This node replaces the chapter's [c title] [i attribute], which is no more supported.
]
[el
Expand Down Expand Up @@ -225,4 +225,4 @@
]
]
]
]
]
2 changes: 1 addition & 1 deletion input/text/version_2.1.0_2021-09-09.pml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
]
]
]
]
]
4 changes: 2 additions & 2 deletions input/text/version_2.2.0_2021-12-14.pml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

For more information please refer to chapter [link url=https://www.pml-lang.dev/docs/advanced_features/index.html#user_defined_nodes text="User-Defined Nodes"].
]

[el
Unicode escape sequences above FFFF are now supported. This is useful to insert emoticons and some Asian characters.

Expand All @@ -30,4 +30,4 @@
[el When Unicode characters above [c FFFF] are inserted into a PML document with copy/paste, they are now correctly written into the HTML target file.]
]
]
]
]
6 changes: 3 additions & 3 deletions input/text/version_2.3.0_2022-02-11.pml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Script nodes enable you to embed source code in a PML document, and execute it when the document is parsed.
For more information please refer to [link url=https://www.pml-lang.dev/docs/advanced_features/index.html#script_nodes text="Script Nodes"].
]

[el
Node [c table_data]: Besides using a comma or tab as cell separator, a vertical bar ([c |]) or a semicolon ([c ;]) can now also be used.
]
Expand All @@ -26,10 +26,10 @@
]
The old syntax will no more be supported in a future version.
]

[el
The method to define user-defined-nodes will probably change in the future, as explained [link url=https://www.pml-lang.dev/docs/advanced_features/index.html#UDN_how text=here].
]
]
]
]
]
Loading