Giter Club home page Giter Club logo

jemdoc's Introduction

jemdoc is a light text-based markup language designed for creating websites. It
takes a text file written with jemdoc markup, an optional configuration file and
an optional menu file, and makes static websites that look something like
http://jemdoc.jaboc.net/.

It was written by me, Jacob Mattingley, in 2007, and definitely isn't the type
of code I would put on my CV. Lots of people use jemdoc, especially in academia.

Much more info at http://jemdoc.jaboc.net/.

jemdoc's People

Contributors

doctorkey avatar jem avatar soerenbnoergaard avatar traviscj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jemdoc's Issues

download link for example.jemdoc without menu setup

Thanks for writing this great tool. Here are some minor issues I encountered when I tried to run a example.

  • It will great to include a download link for example.jemdoc without menu setup. So new beginner can quickly test it more easily by just typing jemdoc example.jemdoc

  • It will be better to have a python 3 revision since python 2 is outdated.

problem with {}{c++} code block

~~~
{}{c++}
// <<
~~~

results in: // &lt;&lt;

~~~
{}{}
<<
~~~

as expected, results in: <<

~~~
{}{}
// <<
~~~

as expected, results in: // <<

Code inside a list

Hi!
I'm building a WebSite with jemdoc, and I want to put a codeblock inside a list.
I tried this:

. Some text
	~~~
	{}{}
	Some Code
	~~~
. More text

But the block doesn't close properly as shown here:
image
Is there a way to do this in jemdoc?

Does 'jemdoc' support multi-level directory on the left sidebar?

I find that there is only a 2-level directory on the left sidebar.
Can I use multi-level, such as a 3-level directory?

In another words, now the left sidebar looks like:

HEAD 1 level 1
    Head 1.1 level 2
    Head 1.2 level 2
HEAD 2 level 1
    Head 2.1 level 2
...

What I want is:

HEAD 1 level 1
    Head 1.1 level 2
        head 1.1.1 level 3
        head 1.1.2 level 3
    Head 1.2 level 2
...

Thanks in advance.

Way to insert links that open in new tab

I've made it so that if you start a link with \/, it opens it in a new tab. I've done this by adding the lines

    if link[:2] == '\\/':
      link = link[2:]
      newtab = True
    else:
      newtab = False

and then the lines

    if not newtab:
      b = b[:m.start()] + r'<a href=\"%s\">%s<\/a>' % (link, linkname) + b[m.end():]
    else:
      b = b[:m.start()] + r'<a rel=\"noopener noreferrer\" target=\"_blank\" href=\"%s\">%s<\/a>' % (link, linkname) + b[m.end():]

to the replacelinks function which seems to work well.

What do you think about adding this to master? What would be a good way to signify new tab?

Latex equation output folder is wrong

From a user:

When the script generates latex equations, the default folder is eqs/ in the directory where the script is run rather than the directory where the html file is outputted. This can be easily changed by overriding the default folder. But then whenever I have to change the folder where I would like to put all my html files in, I have to change the source code as well. So I think that placing the equations in a directory where the html files are generated would be helpful.

Bug in doincludes function

Let's say we want to jemdoc the file, bug.jemdoc, which contains an instance of includeraw.
There is no whitespace / newline after the #includeraw{patent.html}. When jemdocing this file, an error is raised saying that there is not patent.html file. A quick fix can be found in PR here

bug.jemdoc file

# jemdoc: {bug.html}
= Bug reproduce in doincludes \n

== Patent
#includeraw{patent.html}

No newline/whitespace at the end of file.

patent.html

<ol reversed class="biblist">
<li ><p>
J. P. Wilkinson,&ldquo;
Nonlinear resonant circuit devices,&rdquo;
U.S.
Patent 3 624 125,
July,
16,
1990.
</li>
</ol>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.