Added file and inline link anchors.
* Auto-link for documents. If there is an `org` directive in the first doc block of the file then it is used as the file link definition. If there is no such `org` directive then on is created automatically. This resolves issue #0008. There is a new LinkAnchor type for these links: `LinkType.FileLink` * Multiple `org` directives per DocBlock are now allowed. There is a new LinkAnchor link type for these link: `LinkType.InlineLink`. * Refactored `LinkType.OrgLink` to be `LinkType.BlockLink`. * Tweaked CSS * Refactored `LiterateMarkdownGenerator.emit(DocBlock)` for simplicity.
This commit is contained in:
12
doc/issues/0008fv5.rst
Normal file
12
doc/issues/0008fv5.rst
Normal file
@ -0,0 +1,12 @@
|
||||
Automatically create document `org` directives.
|
||||
===============================================
|
||||
|
||||
The author should not have to create an `org` directive at the top of every file.
|
||||
This should be done for him during parsing. Ideally the system would be smart enough
|
||||
to notice if he has defined an `org` at the top of a file and use that if he has.
|
||||
|
||||
----
|
||||
|
||||
======== ===================
|
||||
Created: 2012-01-04T17:12:59
|
||||
======== ===================
|
Reference in New Issue
Block a user