Skip to content

Commit ae559c0

Browse files
committed
Cleaning
Signed-off-by: Miguel A. Risco-Castillo
1 parent 1f83f01 commit ae559c0

File tree

6 files changed

+7
-187
lines changed

6 files changed

+7
-187
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Markdown Processor for FPC.
44

55
## Basic Information
66

7-
This is a Pascal (FPC) library that processes to markdown to HTML.
7+
This is a Pascal (FPC) library that processes markdown to HTML.
88
At present the following dialects of markdown are supported:
99

1010
* The Daring Fireball dialect (see https://daringfireball.net/projects/markdown/) (translated from https://github.com/rjeschke/txtmark)

fpc_markdown.lpk

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,23 +46,15 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4646
See the License for the specific language governing permissions and
4747
limitations under the License."/>
4848
<Version Major="1" Release="1"/>
49-
<Files Count="4">
49+
<Files Count="2">
5050
<Item1>
5151
<Filename Value="source\MarkdownProcessor.pas"/>
5252
<UnitName Value="MarkdownProcessor"/>
5353
</Item1>
5454
<Item2>
55-
<Filename Value="source\MarkdownCommonMark.pas"/>
56-
<UnitName Value="MarkdownCommonMark"/>
57-
</Item2>
58-
<Item3>
5955
<Filename Value="source\MarkdownDaringFireball.pas"/>
6056
<UnitName Value="MarkdownDaringFireball"/>
61-
</Item3>
62-
<Item4>
63-
<Filename Value="source\MarkdownAsciiDoc.pas"/>
64-
<UnitName Value="MarkdownAsciiDoc"/>
65-
</Item4>
57+
</Item2>
6658
</Files>
6759
<RequiredPkgs Count="2">
6860
<Item1>

fpc_markdown.pas

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
interface
99

1010
uses
11-
MarkdownProcessor, MarkdownCommonMark, MarkdownDaringFireball,
12-
MarkdownAsciiDoc;
11+
MarkdownProcessor, MarkdownDaringFireball;
1312

1413
implementation
1514

source/MarkdownAsciiDoc.pas

Lines changed: 0 additions & 7 deletions
This file was deleted.

source/MarkdownCommonMark.pas

Lines changed: 0 additions & 155 deletions
This file was deleted.

source/MarkdownProcessor.pas

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,6 @@
1717
limitations under the License.
1818
}
1919

20-
{
21-
Contribution Credits
22-
--------------------
23-
24-
- Pavel Stugel - revisions for support of older Delphi versions and FPC
25-
26-
}
27-
28-
2920
Unit MarkdownProcessor;
3021

3122
{$mode objfpc}{$H+}
@@ -53,16 +44,16 @@ interface
5344
implementation
5445

5546
uses
56-
MarkdownDaringFireball,
57-
MarkdownCommonMark;
47+
MarkdownDaringFireball;
48+
// MarkdownCommonMark;
5849

5950
{ TMarkdownProcessor }
6051

6152
class function TMarkdownProcessor.CreateDialect(dialect: TMarkdownProcessorDialect): TMarkdownProcessor;
6253
begin
6354
case dialect of
6455
mdDaringFireball : result := TMarkdownDaringFireball.Create;
65-
mdCommonMark : result := TMarkdownCommonMark.Create;
56+
// mdCommonMark : result := TMarkdownCommonMark.Create;
6657
else
6758
raise Exception.Create('Unknown Markdown dialect');
6859
end;

0 commit comments

Comments
 (0)