Sha256: eb18c311106824877e652a9e22b36a68c520556acc1d8e858a6e80ccf7c0ddad

Contents?: true

Size: 1.34 KB

Versions: 8

Compression:

Stored size: 1.34 KB

Contents

/*
 * Copyright (c) 2011, Vicent Marti
 *
 * Permission to use, copy, modify, and distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
 *
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 */

#ifndef UPSKIRT_XHTML_H
#define UPSKIRT_XHTML_H

typedef enum {
	XHTML_SKIP_HTML = (1 << 0),
	XHTML_SKIP_STYLE = (1 << 1),
	XHTML_SKIP_IMAGES = (1 << 2),
	XHTML_SKIP_LINKS = (1 << 3),
	XHTML_SMARTYPANTS = (1 << 4),
	XHTML_EXPAND_TABS = (1 << 5),
	XHTML_SAFELINK = (1 << 7),
	XHTML_TOC = (1 << 8),
	XHTML_HARD_WRAP = (1 << 9),
	XHTML_GITHUB_BLOCKCODE = (1 << 10),
} render_mode;

extern void
ups_xhtml_renderer(struct mkd_renderer *renderer, unsigned int render_flags);

extern void
ups_toc_renderer(struct mkd_renderer *renderer);

extern void
ups_free_renderer(struct mkd_renderer *renderer);

#endif

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
redcarpet-1.12.2 ext/xhtml.h
redcarpet-1.12.1 ext/xhtml.h
redcarpet-1.12.0 ext/xhtml.h
redcarpet-1.11.4 ext/xhtml.h
redcarpet-1.11.3 ext/xhtml.h
redcarpet-1.11.2 ext/xhtml.h
redcarpet-1.11.1 ext/xhtml.h
redcarpet-1.11.0 ext/xhtml.h